diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index d951b19178..1631927a6b 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 -PKG_VERSION:=2.11.18 +PKG_VERSION:=2.11.19 PKG_RELEASE:=5 PKG_MAINTAINER:=Florian Eckert , \ Aaron Goodman diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3 index 9162cb477c..9916657928 100755 --- a/net/mwan3/files/usr/sbin/mwan3 +++ b/net/mwan3/files/usr/sbin/mwan3 @@ -222,17 +222,17 @@ use() { local interface device src_ip family interface=$1 ; shift - [ -z "$*" ] && echo "no command specified for mwan3 use" && return + [ -z "$*" ] && echo "no command specified for mwan3 use" >&2 && return network_get_device device $interface - [ -z "$device" ] && echo "could not find device for $interface" && return + [ -z "$device" ] && echo "could not find device for $interface" >&2 && return mwan3_get_src_ip src_ip $interface - [ -z "$src_ip" ] && echo "could not find src_ip for $interface" && return + [ -z "$src_ip" ] && echo "could not find src_ip for $interface" >&2 && return config_get family $interface family - [ -z "$family" ] && echo "could not find family for $interface. Using ipv4." && family='ipv4' + [ -z "$family" ] && echo "could not find family for $interface. Using ipv4." >&2 && family='ipv4' - echo "Running '$*' with DEVICE=$device SRCIP=$src_ip FWMARK=$MMX_DEFAULT FAMILY=$family" + echo "Running '$*' with DEVICE=$device SRCIP=$src_ip FWMARK=$MMX_DEFAULT FAMILY=$family" >&2 # if a program (not a shell builtin) is run: use "exec" for allowing direct process control if [ -x "$(command -v "$1")" ]; then set -- exec "$@"