odhcp6c: suppress fw3 warnings

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41833
This commit is contained in:
Felix Fietkau 2014-07-26 12:23:28 +00:00
parent ee4f8c8b99
commit e7ece301fe

View File

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