aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-06-01 08:31:13 +0000
committerSteven Barth <cyrus@openwrt.org>2015-06-01 08:31:13 +0000
commit09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf (patch)
treeb181ea75689971e5be850b5aa98fff81d733db26
parent11f05afd26a45779bfc163257fac0d600fff0c02 (diff)
downloadupstream-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.tar.gz
upstream-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.tar.bz2
upstream-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.zip
odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45867
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index a2adf39ad1..650c9b2e8f 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -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