projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4efb1
)
remove the DNS option from proto-static, it will be handled by generic code
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 15 Apr 2011 19:43:41 +0000
(21:43 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 15 Apr 2011 19:43:41 +0000
(21:43 +0200)
proto-static.c
patch
|
blob
|
history
diff --git
a/proto-static.c
b/proto-static.c
index 55e77d5b70fefef1cc95fb169ce003f59caf63f0..e57b63fb38986727483a2cddabb438f2725b88f5 100644
(file)
--- 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 *