diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2025-02-16 08:09:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-16 08:09:57 -0500 |
| commit | 9d53f35143a36d7d92bd9271c8b9a9a17a773d4a (patch) | |
| tree | 0ac8668506516f10b441edc0a175d4d9c23fc9da | |
| parent | f3249ab68613df0fbd85c0e72d176a43db6550c4 (diff) | |
| parent | 857c987fa757218a15e79a56be9d7db635ebbb35 (diff) | |
Merge pull request #18184 from FRRouting/mergify/bp/stable/10.2/pr-18109
bgpd: fix vty output of evpn route-target AS4 (backport #18109)
| -rw-r--r-- | bgpd/bgp_evpn_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_evpn_vty.c b/bgpd/bgp_evpn_vty.c index 958a9c6492..e7fe9b669d 100644 --- a/bgpd/bgp_evpn_vty.c +++ b/bgpd/bgp_evpn_vty.c @@ -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++); |
