odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45867
This commit is contained in:
parent
11f05afd26
commit
09ad0ae4bd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue