diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index 99c01712d..b31f4ce34 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 -PKG_VERSION:=2.11.7 +PKG_VERSION:=2.11.8 PKG_RELEASE:=1 PKG_MAINTAINER:=Florian Eckert , \ Aaron Goodman diff --git a/net/mwan3/files/usr/libexec/rpcd/mwan3 b/net/mwan3/files/usr/libexec/rpcd/mwan3 index 8b336a450..3fce9b0d4 100755 --- a/net/mwan3/files/usr/libexec/rpcd/mwan3 +++ b/net/mwan3/files/usr/libexec/rpcd/mwan3 @@ -8,8 +8,8 @@ report_connected_v4() { local address - if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then - for address in $($IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3); do + if [ -n "$($IPT4 -S mwan3_connected_ipv4 2> /dev/null)" ]; then + for address in $($IPS -o save list mwan3_connected_ipv4 | grep add | cut -d " " -f 3); do json_add_string "" "${address}" done fi @@ -19,8 +19,8 @@ report_connected_v6() { [ $NO_IPV6 -ne 0 ] && return local address - if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then - for address in $($IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3); do + if [ -n "$($IPT6 -S mwan3_connected_ipv6 2> /dev/null)" ]; then + for address in $($IPS -o save list mwan3_connected_ipv6 | grep add | cut -d " " -f 3); do json_add_string "" "${address}" done fi