mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:57:45 +00:00
Merge pull request #18183 from FRRouting/mergify/bp/dev/10.3/pr-18109
bgpd: fix vty output of evpn route-target AS4 (backport #18109)
This commit is contained in:
commit
ea9fc3e7f8
@ -113,7 +113,7 @@ static void display_vrf_import_rt(struct vty *vty, struct vrf_irt_node *irt,
|
||||
break;
|
||||
|
||||
case ECOMMUNITY_ENCODE_AS4:
|
||||
pnt = ptr_get_be32(pnt, &eas.val);
|
||||
pnt = ptr_get_be32(pnt, &eas.as);
|
||||
eas.val = (*pnt++ << 8);
|
||||
eas.val |= (*pnt++);
|
||||
|
||||
@ -222,7 +222,7 @@ static void display_import_rt(struct vty *vty, struct irt_node *irt,
|
||||
break;
|
||||
|
||||
case ECOMMUNITY_ENCODE_AS4:
|
||||
pnt = ptr_get_be32(pnt, &eas.val);
|
||||
pnt = ptr_get_be32(pnt, &eas.as);
|
||||
eas.val = (*pnt++ << 8);
|
||||
eas.val |= (*pnt++);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user