diff options
author | Steven Barth <steven@midlink.org> | 2015-09-01 15:29:31 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-09-01 15:29:31 +0200 |
commit | b8f53276092dc48409006fec3c1e90383820cbc5 (patch) | |
tree | ce85383c34fafc3d154bd660a573911bdb4d5a74 /src/dhcpv6-ia.c | |
parent | 5b12eeba475a3301c362cf59f138ec7aa60d2dd9 (diff) |
Fixup RAs/DHCPv6 announcing incorrect addresses
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r-- | src/dhcpv6-ia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index a4598df..d301b4f 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -739,7 +739,7 @@ static size_t append_reply(uint8_t *buf, size_t buflen, uint16_t status, size_t entrlen = sizeof(n) - 4; if (iface->managed < RELAYD_MANAGED_NO_AFLAG && i != m && - addrs[i].prefix == 64) + addrs[i].prefix <= 64) continue; if (datalen + entrlen + 4 > buflen || a->assigned == 0) |