summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_evpn_mac.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-07-16 00:29:41 +0200
committeranlan_cs <vic.lan@pica8.com>2022-07-16 01:24:24 +0200
commit0ef63eb5cc5c9ddddb972a2327318e519192b142 (patch)
tree1dcf3efa548f073b9b4dcb861eb9f72a029f6902 /zebra/zebra_evpn_mac.c
parentMerge pull request #11564 from kuldeepkash/multicast_pim_bsm (diff)
downloadfrr-0ef63eb5cc5c9ddddb972a2327318e519192b142.tar.xz
frr-0ef63eb5cc5c9ddddb972a2327318e519192b142.zip
zebra: correctly display one debug flag about ES Peer
Since the `mac->flags` with `ZEBRA_MAC_ES_PEER_ACTIVE` is about ES Peer, it should be displayed as `PEER Active`. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'zebra/zebra_evpn_mac.c')
-rw-r--r--zebra/zebra_evpn_mac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_evpn_mac.c b/zebra/zebra_evpn_mac.c
index 38a36cc7a..cbdc17653 100644
--- a/zebra/zebra_evpn_mac.c
+++ b/zebra/zebra_evpn_mac.c
@@ -374,8 +374,9 @@ static char *zebra_evpn_zebra_mac_flag_dump(struct zebra_mac *mac, char *buf,
: "",
CHECK_FLAG(mac->flags, ZEBRA_MAC_DUPLICATE) ? "DUP " : "",
CHECK_FLAG(mac->flags, ZEBRA_MAC_FPM_SENT) ? "FPM " : "",
- CHECK_FLAG(mac->flags, ZEBRA_MAC_ES_PEER_ACTIVE) ? "LOC Active "
- : "",
+ CHECK_FLAG(mac->flags, ZEBRA_MAC_ES_PEER_ACTIVE)
+ ? "PEER Active "
+ : "",
CHECK_FLAG(mac->flags, ZEBRA_MAC_ES_PEER_PROXY) ? "PROXY " : "",
CHECK_FLAG(mac->flags, ZEBRA_MAC_LOCAL_INACTIVE)
? "LOC Inactive "