diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-17 12:33:17 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-22 08:02:50 +0200 |
commit | 51b2dcd0075b10e868dfeb0427bd25ffd055fcc5 (patch) | |
tree | 9e5a056ecc77dc3464853c2785a21b3b64b127ac | |
parent | bgpd: Rework extended community transitiviness (diff) | |
download | frr-51b2dcd0075b10e868dfeb0427bd25ffd055fcc5.tar.xz frr-51b2dcd0075b10e868dfeb0427bd25ffd055fcc5.zip |
bgpd: Check transivity flag for node target extended community with CHECK_FLAG()
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r-- | bgpd/bgp_ecommunity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index e2292bb96..0443203fe 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -1419,7 +1419,7 @@ char *ecommunity_ecom2str(struct ecommunity *ecom, int format, int filter) pnt, len); else unk_ecom = true; - } else if (type == ECOMMUNITY_ENCODE_IP_NON_TRANS) { + } else if (CHECK_FLAG(type, ECOMMUNITY_ENCODE_IP_NON_TRANS)) { sub_type = *pnt++; if (sub_type == ECOMMUNITY_NODE_TARGET) ecommunity_node_target_str( |