odhcp6c: silence fw3 warnings

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

SVN-Revision: 45867
This commit is contained in:
Steven Barth 2015-06-01 08:31:13 +00:00
parent 11f05afd26
commit 09ad0ae4bd
1 changed files with 1 additions and 1 deletions

View File

@ -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