summaryrefslogtreecommitdiffhomepage
path: root/dummy
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-24 20:46:23 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-24 20:46:23 +0200
commite8f450ba2e67716cf3ed70060a309b80aa24cf00 (patch)
tree4f6a83ef250d86ac4d241d592ba01c1ffc15c84f /dummy
parent32872acd743064ff090b85c4f6b8aedba0314d4f (diff)
initialize dns server/search lists
Diffstat (limited to 'dummy')
-rwxr-xr-xdummy/netifd-proto.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dummy/netifd-proto.sh b/dummy/netifd-proto.sh
index c27d562..e61de46 100755
--- a/dummy/netifd-proto.sh
+++ b/dummy/netifd-proto.sh
@@ -48,6 +48,8 @@ proto_init_update() {
PROTO_IP6ADDR=
PROTO_ROUTE=
PROTO_ROUTE6=
+ PROTO_DNS=
+ PROTO_DNS_SEARCH=
json_init
json_add_int action 0
[ -n "$ifname" -a "*" != "$ifname" ] && json_add_string "ifname" "$ifname"