mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 07:28:41 +00:00
bgpd: Use IPV6_MAX_BITLEN
when deleting SRv6 VPN4 SIDs
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
d3a9fe9993
commit
688aaa4e62
@ -3717,7 +3717,7 @@ static int bgp_zebra_process_srv6_locator_delete(ZAPI_CALLBACK_ARGS)
|
||||
tovpn_sid = bgp_vrf->vpn_policy[AFI_IP].tovpn_sid;
|
||||
if (tovpn_sid) {
|
||||
tmp_prefi.family = AF_INET6;
|
||||
tmp_prefi.prefixlen = 128;
|
||||
tmp_prefi.prefixlen = IPV6_MAX_BITLEN;
|
||||
tmp_prefi.prefix = *tovpn_sid;
|
||||
if (prefix_match((struct prefix *)&loc.prefix,
|
||||
(struct prefix *)&tmp_prefi))
|
||||
|
Loading…
Reference in New Issue
Block a user