diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-01 16:39:04 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-01 16:41:09 +0200 |
commit | f4d81e5507e208b65d8d1fb9c2f2812eedcb7405 (patch) | |
tree | 30a8796ded6a3d2b13fcd049d43a28e496d18763 /ospf6d | |
parent | bgpd: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlen (diff) | |
download | frr-f4d81e5507e208b65d8d1fb9c2f2812eedcb7405.tar.xz frr-f4d81e5507e208b65d8d1fb9c2f2812eedcb7405.zip |
*: Replace IPV6_MAX_PREFIXLEN to IPV6_MAX_BITLEN
Just drop IPV6_MAX_PREFIXLEN at all, no need keeping both.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_asbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 315449ae9..b53fc717a 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -556,7 +556,7 @@ void ospf6_asbr_lsa_add(struct ospf6_lsa *lsa) + OSPF6_PREFIX_SPACE(external->prefix.prefix_length); memset(&fwd_addr, 0, sizeof(struct prefix)); fwd_addr.family = AF_INET6; - fwd_addr.prefixlen = IPV6_MAX_PREFIXLEN; + fwd_addr.prefixlen = IPV6_MAX_BITLEN; memcpy(&fwd_addr.u.prefix6, (caddr_t)external + offset, sizeof(struct in6_addr)); |