diff options
| -rw-r--r-- | bgpd/bgp_evpn_vty.c | 4 | ||||
| -rw-r--r-- | bgpd/bgp_packet.c | 2 | ||||
| -rw-r--r-- | lib/srv6.c | 2 |
3 files changed, 5 insertions, 3 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++); diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index db3ccef619..edef77b845 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -2746,6 +2746,8 @@ static int bgp_route_refresh_receive(struct peer_connection *connection, "%pBP rcvd Remove-All pfxlist ORF request", peer); prefix_bgp_orf_remove_all(afi, name); + peer->orf_plist[afi][safi] = prefix_bgp_orf_lookup(afi, + name); break; } diff --git a/lib/srv6.c b/lib/srv6.c index a82103e423..18e453d4fb 100644 --- a/lib/srv6.c +++ b/lib/srv6.c @@ -75,7 +75,7 @@ const char *seg6local_context2str(char *str, size_t size, switch (action) { case ZEBRA_SEG6_LOCAL_ACTION_END: - snprintf(str, size, "USP"); + snprintf(str, size, "-"); return str; case ZEBRA_SEG6_LOCAL_ACTION_END_X: |
