summaryrefslogtreecommitdiffhomepage
path: root/proto.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-02-10 19:02:49 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-02-10 19:02:56 +0100
commitbc1902d31fe5d751a50981d668cc1356b4796639 (patch)
tree97d0169930f900450e419da0ed225106bd8196a4 /proto.c
parentf73f11865e8601a0cb3983a6f2b2beb5ebabd14d (diff)
proto: default to 128 instead of the "netmask" option for ipv6 addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'proto.c')
-rw-r--r--proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.c b/proto.c
index d040be8..3d611a2 100644
--- 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)