mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:54:47 +00:00
bgpd: Do not force nh_afi to be AFI_IP for 'ipv4 labeled-unicast'
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
c05f73e0f4
commit
1d4b7d0e1a
@ -2793,9 +2793,6 @@ bgp_packet_mpattr_start (struct stream *s, afi_t afi, safi_t safi, afi_t nh_afi,
|
||||
if (nh_afi == AFI_MAX)
|
||||
nh_afi = BGP_NEXTHOP_AFI_FROM_NHLEN(attr->extra->mp_nexthop_len);
|
||||
|
||||
if (safi == SAFI_LABELED_UNICAST)
|
||||
nh_afi = AFI_IP;
|
||||
|
||||
/* Nexthop */
|
||||
switch (nh_afi)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user