summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-07-30 13:17:56 +0000
committerSteven Barth <cyrus@openwrt.org>2014-07-30 13:17:56 +0000
commit86671615deb8afb3f7dcf706937d23922b14ff49 (patch)
tree868eab52329308b747b52db7948850851f654cdc /package/network
parent5743a89fb5b5723806852e206403a1c0c5160ecc (diff)
downloadmtk-20170518-86671615deb8afb3f7dcf706937d23922b14ff49.zip
mtk-20170518-86671615deb8afb3f7dcf706937d23922b14ff49.tar.gz
mtk-20170518-86671615deb8afb3f7dcf706937d23922b14ff49.tar.bz2
netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 41892
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script
index db3fc01..593fb93 100755
--- a/package/network/config/netifd/files/lib/netifd/dhcp.script
+++ b/package/network/config/netifd/files/lib/netifd/dhcp.script
@@ -50,7 +50,7 @@ setup_interface () {
ip6rd="${ip6rd#* }"
local ip6rdbr="${ip6rd%% *}"
- [ -n "$ZONE" ] || ZONE=$(fw3 network $INTERFACE)
+ [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE)
[ -z "$IFACE6RD" -o "$IFACE6RD" = 1 ] && IFACE6RD=${INTERFACE}_6rd
json_init