odhcp6c: suppress fw3 warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41833
This commit is contained in:
parent
ee4f8c8b99
commit
e7ece301fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue