projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73f118
)
proto: default to 128 instead of the "netmask" option for ipv6 addresses
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Feb 2013 18:02:49 +0000
(19:02 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Feb 2013 18:02:56 +0000
(19:02 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proto.c
patch
|
blob
|
history
diff --git
a/proto.c
b/proto.c
index d040be86dcc91c805ef09bf1211a33d45af52bad..3d611a274f5ef067bc2511e77d93db3a2ac01e3b 100644
(file)
--- a/
proto.c
+++ b/
proto.c
@@
-373,7
+373,7
@@
proto_apply_static_ip_settings(struct interface *iface, struct blob_attr *attr)
if ((cur = tb[OPT_IP6ADDR]))
n_v6 = parse_static_address_option(iface, cur, true,
-
netmask
, false, 0);
+
128
, false, 0);
if ((cur = tb[OPT_IP6PREFIX]))
if (parse_prefix_list(iface, cur) < 0)