diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-06-01 08:31:13 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-06-01 08:31:13 +0000 |
commit | 09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf (patch) | |
tree | b181ea75689971e5be850b5aa98fff81d733db26 /package/network/ipv6/odhcp6c/files | |
parent | 11f05afd26a45779bfc163257fac0d600fff0c02 (diff) | |
download | mtk-20170518-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.zip mtk-20170518-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.tar.gz mtk-20170518-09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf.tar.bz2 |
odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45867
Diffstat (limited to 'package/network/ipv6/odhcp6c/files')
-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 a2adf39..650c9b2 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 |