From 702c681db04574dfbd0955e60e4b4ba555dc077c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 15 Apr 2011 21:43:41 +0200 Subject: [PATCH] remove the DNS option from proto-static, it will be handled by generic code --- proto-static.c | 2 -- 1 file changed, 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 * -- 2.11.0