Browse Source

Merge pull request #5069 from dedeckeh/pr-netsnmp-fw

net-snmp: fix inbound firewall rule support
lilik-openwrt-22.03
Stijn Tintel 6 years ago
committed by GitHub
parent
commit
1709b83091
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      net/net-snmp/Makefile
  2. +5
    -0
      net/net-snmp/files/snmpd.init

+ 1
- 1
net/net-snmp/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=net-snmp
PKG_VERSION:=5.7.3
PKG_RELEASE:=9
PKG_RELEASE:=10
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/net-snmp


+ 5
- 0
net/net-snmp/files/snmpd.init View File

@ -338,6 +338,7 @@ start_service() {
stop_service() {
[ -f "$CONFIGFILE" ] && rm -f "$CONFIGFILE"
procd_set_config_changed firewall
}
service_triggers(){
@ -350,3 +351,7 @@ service_triggers(){
procd_add_reload_trigger 'snmpd'
}
service_started() {
procd_set_config_changed firewall
}

Loading…
Cancel
Save