From e55da65b149c742c6430cf8de62f37c7074f0108 Mon Sep 17 00:00:00 2001 From: Luke McKee Date: Tue, 26 Jul 2016 21:17:31 +0700 Subject: mini_snmpd: fix initscript to use l3_device for working out the interface name Working: ubus -S call network.interface dump|jsonfilter -e "@.interface[@.interface=\"wan\"].l3_device" Broken: ubus -S call network.interface dump|jsonfilter -e "@.interface[@.interface=\"wan\"].device" Fix run tested: root@wifi:/overlay/upper# ps |grep mini_snmpd 1404 root 980 S /usr/bin/mini_snmpd -n -c public -L Undisclosed -C VGB -t 1 -a -d /overlay,/tmp -i br-lan,pppoe-w Before it wasn't using the pppoe interface it was using the parent interface eth0 twice. Small 1 line fix. Merge at your convenience. Signed-off-by: Luke McKee --- net/mini_snmpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/mini_snmpd/Makefile') diff --git a/net/mini_snmpd/Makefile b/net/mini_snmpd/Makefile index 9945b8fa0..f86539a0c 100644 --- a/net/mini_snmpd/Makefile +++ b/net/mini_snmpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mini_snmpd PKG_VERSION:=1.4-rc1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Luke McKee PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING -- cgit v1.2.3