summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr_evpn.h
diff options
context:
space:
mode:
authorIqra Siddiqui <imujeebsiddi@vmware.com>2022-01-18 09:36:13 +0100
committerIqra Siddiqui <imujeebsiddi@vmware.com>2022-02-01 06:50:50 +0100
commit761cc919fae515e8f8046e5e31558f6208f65a21 (patch)
treec20fe532ef528cf8cd819551da88cbf2bdaac93c /bgpd/bgp_attr_evpn.h
parentMerge pull request #10451 from donaldsharp/route_tag_ntohl (diff)
downloadfrr-761cc919fae515e8f8046e5e31558f6208f65a21.tar.xz
frr-761cc919fae515e8f8046e5e31558f6208f65a21.zip
bgpd: Fixing memcmp to avoid coverity issue
Description: Replacing memcmp at certain places, to avoid the coverity issues caused by it. Co-authored-by: Kantesh Mundargi <kmundaragi@vmware.com> Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
Diffstat (limited to 'bgpd/bgp_attr_evpn.h')
-rw-r--r--bgpd/bgp_attr_evpn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_attr_evpn.h b/bgpd/bgp_attr_evpn.h
index 64f0e7c51..bb4a81693 100644
--- a/bgpd/bgp_attr_evpn.h
+++ b/bgpd/bgp_attr_evpn.h
@@ -59,4 +59,7 @@ extern void bgp_attr_evpn_na_flag(struct attr *attr, uint8_t *router_flag,
bool *proxy);
extern uint16_t bgp_attr_df_pref_from_ec(struct attr *attr, uint8_t *alg);
+
+extern bool bgp_route_evpn_same(const struct bgp_route_evpn *e1,
+ const struct bgp_route_evpn *e2);
#endif /* _QUAGGA_BGP_ATTR_EVPN_H */