odhcp6c: silence fw3 warnings

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45867 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Steven Barth 2015-06-01 08:31:13 +00:00
parent 6baf2052a2
commit 3e2ff3cae0
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ setup_interface () {
MAPRULE="$LW4O6" MAPRULE="$LW4O6"
fi 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 if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then
[ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4 [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4