diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2025-02-16 08:09:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-16 08:09:34 -0500 |
| commit | c531cf66b4747dee3d76b31f3b429505fa0a4e70 (patch) | |
| tree | 9e5c8393b8163129d413b36a1a5fb4804a23b8f9 | |
| parent | e8e995342a543037ab4da6fe61fa002ec041a440 (diff) | |
| parent | 20b3ab483a73647e11446365a4c658b766a0c6cf (diff) | |
Merge pull request #18186 from FRRouting/mergify/bp/stable/10.0/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 3e6a7ac784..d9985c9d5b 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++); |
