odhcp6c: suppress fw3 warnings
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 12:23:28 +0000 (12:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jul 2014 12:23:28 +0000 (12:23 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41833

package/network/ipv6/odhcp6c/files/dhcpv6.script

index 8c1ba18f4917da11297da4e354b6043e40e38e39..68946a3197e0d767e43ba6f44709e5bf32d68229 100755 (executable)
@@ -97,7 +97,7 @@ setup_interface () {
                MAPRULE="$LW4O6"
        fi
 
-       [ -n "$ZONE" ] || ZONE=$(fw3 network $INTERFACE)
+       [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE)
 
        if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then
                [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_map