From: Steven Barth Date: Mon, 1 Jun 2015 08:31:13 +0000 (+0000) Subject: odhcp6c: silence fw3 warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf;p=openwrt%2Fstaging%2Fadrian.git odhcp6c: silence fw3 warnings Signed-off-by: Steven Barth SVN-Revision: 45867 --- diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script index a2adf39ad1..650c9b2e8f 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.script +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script @@ -118,7 +118,7 @@ setup_interface () { MAPRULE="$LW4O6" fi - [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE) + [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE 2>/dev/null) if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4