Skip to content

Commit

Permalink
Merge pull request #18186 from FRRouting/mergify/bp/stable/10.0/pr-18109
Browse files Browse the repository at this point in the history
bgpd: fix vty output of evpn route-target AS4 (backport #18109)
  • Loading branch information
donaldsharp authored Feb 16, 2025
2 parents e8e9953 + 20b3ab4 commit c531cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgpd/bgp_evpn_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++);

Expand Down Expand Up @@ -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++);

Expand Down

0 comments on commit c531cf6

Please sign in to comment.