remove the DNS option from proto-static, it will be handled by generic code
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Apr 2011 19:43:41 +0000 (21:43 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 15 Apr 2011 19:43:41 +0000 (21:43 +0200)
proto-static.c

index 55e77d5b70fefef1cc95fb169ce003f59caf63f0..e57b63fb38986727483a2cddabb438f2725b88f5 100644 (file)
@@ -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 *