projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto: default to 128 instead of the "netmask" option for ipv6 addresses
[project/netifd.git]
/
proto.c
diff --git
a/proto.c
b/proto.c
index
d040be8
..
3d611a2
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,
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)
if ((cur = tb[OPT_IP6PREFIX]))
if (parse_prefix_list(iface, cur) < 0)