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 /pimd/pim_tlv.c | |
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 'pimd/pim_tlv.c')
-rw-r--r-- | pimd/pim_tlv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c index f21c369b8..8d6d3a416 100644 --- a/pimd/pim_tlv.c +++ b/pimd/pim_tlv.c @@ -495,7 +495,7 @@ int pim_parse_addr_ucast(struct prefix *p, const uint8_t *buf, int buf_size) } p->family = AF_INET6; - p->prefixlen = IPV6_MAX_PREFIXLEN; + p->prefixlen = IPV6_MAX_BITLEN; memcpy(&p->u.prefix6, addr, sizeof(struct in6_addr)); addr += sizeof(struct in6_addr); |