summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6-ia.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-07-14 11:05:31 +0200
committerSteven Barth <steven@midlink.org>2015-07-14 11:05:31 +0200
commit10fc5665634151fbd8bfd6503db25a4652a0839a (patch)
treea2695181552d73b401b207caedda03b5ca04bbff /src/dhcpv6-ia.c
parent83487419ce34d2a1f6fe22b437172882c9cd8785 (diff)
ndp: fixup relay
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r--src/dhcpv6-ia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 0bcb453..6ea49b0 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -363,7 +363,7 @@ static void apply_lease(struct interface *iface, struct dhcpv6_assignment *a, bo
struct in6_addr prefix = addrs[i].addr;
prefix.s6_addr32[1] |= htonl(a->assigned);
odhcpd_setup_route(&prefix, (a->managed_size) ? addrs[i].prefix : a->length,
- iface, &a->peer.sin6_addr, add);
+ iface, &a->peer.sin6_addr, 1024, add);
}
}