diff --git a/Shorewall/firewall b/Shorewall/firewall index b4f80d225..e28fc983d 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -2455,7 +2455,7 @@ setup_masq() iface="-o $interface" ;; *) - ipaddr="`run_ip addr show $subnet | grep 'inet '`" + ipaddr="`ip addr show $subnet 2> /dev/null | grep 'inet '`" source="$subnet" if [ -z "$ipaddr" ]; then fatal_error \