diff options
author | Steven Barth <steven@midlink.org> | 2015-06-01 08:31:13 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-06-01 08:31:13 +0000 |
commit | 3e2ff3cae01cced974035a7dfcc07f63f3718367 (patch) | |
tree | 6f826c62311a9824f3eed48a96279b193824ad26 /package/network/ipv6 | |
parent | 6baf2052a2a01f363b1432de8500d723ca180c1e (diff) | |
download | upstream-3e2ff3cae01cced974035a7dfcc07f63f3718367.tar.gz upstream-3e2ff3cae01cced974035a7dfcc07f63f3718367.tar.bz2 upstream-3e2ff3cae01cced974035a7dfcc07f63f3718367.zip |
odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45867 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6')
-rwxr-xr-x | package/network/ipv6/odhcp6c/files/dhcpv6.script | 2 |
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 |