From: Felix Fietkau Date: Fri, 15 Apr 2011 19:43:41 +0000 (+0200) Subject: remove the DNS option from proto-static, it will be handled by generic code X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=702c681db04574dfbd0955e60e4b4ba555dc077c;ds=sidebyside remove the DNS option from proto-static, it will be handled by generic code --- 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 *