icwmp: 8.2.4-2021-10-14

This commit is contained in:
vdutta 2021-10-14 22:01:00 +05:30
parent 88513db735
commit fdee0c734c
2 changed files with 2 additions and 3 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=8.2.4-2021-10-13
PKG_VERSION:=8.2.4-2021-10-14
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/icwmp.git
PKG_SOURCE_PROTO:=git

View file

@ -64,8 +64,7 @@ handle_icwmp_restart() {
network_get_device curdev $INTERFACE
[ -n "$curdev" ] && echo $curdev > $devfile || rm -f $devfile
local wan_iface=`uci get cwmp.cpe.default_wan_interface`
local vendorspecinf=`ubus call network.interface.wan status | jsonfilter -e "@.data.vendorspecinf"`
local vendorspecinf=`ubus call network.interface.${defwan} status | jsonfilter -e "@.data.vendorspecinf"`
[ -n "$vendorspecinf" ] && {
local url=""
case $vendorspecinf in