summaryrefslogtreecommitdiffhomepage
path: root/proto-static.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-15 21:43:41 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-15 21:43:41 +0200
commit702c681db04574dfbd0955e60e4b4ba555dc077c (patch)
treed845b755173d1b51c5ab65f8f0ebf18dfd92586b /proto-static.c
parentfd4efb1bbfe5a502a802f43871cfae9944c8d75f (diff)
remove the DNS option from proto-static, it will be handled by generic code
Diffstat (limited to 'proto-static.c')
-rw-r--r--proto-static.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto-static.c b/proto-static.c
index 55e77d5..e57b63f 100644
--- a/proto-static.c
+++ b/proto-static.c
@@ -200,7 +200,6 @@ enum {
OPT_NETMASK,
OPT_GATEWAY,
OPT_IP6GW,
- OPT_DNS,
__OPT_MAX,
};
@@ -210,7 +209,6 @@ static const struct uci_parse_option opts[__OPT_MAX] = {
[OPT_NETMASK] = { .name = "netmask", .type = UCI_TYPE_STRING },
[OPT_GATEWAY] = { .name = "gateway", .type = UCI_TYPE_STRING },
[OPT_IP6GW] = { .name = "ip6gw", .type = UCI_TYPE_STRING },
- [OPT_DNS] = { .name = "dns" },
};
struct interface_proto_state *