diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-30 14:05:27 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-12 22:10:30 +0100 |
commit | ea7741a057c73f025f30967fd457d7fa4e46868f (patch) | |
tree | f633ce11fb5924875f7f9f7e419f73c76998dff9 /bgpd/bgp_attr.h | |
parent | bgpd: Allow soft clear of `l2vpn evpn` afi/safi (diff) | |
download | frr-ea7741a057c73f025f30967fd457d7fa4e46868f.tar.xz frr-ea7741a057c73f025f30967fd457d7fa4e46868f.zip |
bgpd: Remove duplicate data structure
The `struct bgp_route_evpn` and `struct overlay_index` data
structures are exactly the same. Reduce to 1.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_attr.h')
-rw-r--r-- | bgpd/bgp_attr.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h index 47a4182fe..6d5c647b2 100644 --- a/bgpd/bgp_attr.h +++ b/bgpd/bgp_attr.h @@ -92,12 +92,6 @@ struct bgp_tea_options { #endif -/* Overlay Index Info */ -struct overlay_index { - struct eth_segment_id eth_s_id; - union gw_addr gw_ip; -}; - enum pta_type { PMSI_TNLTYPE_NO_INFO = 0, PMSI_TNLTYPE_RSVP_TE_P2MP, @@ -204,7 +198,7 @@ struct attr { struct bgp_attr_encap_subtlv *vnc_subtlvs; /* VNC-specific */ #endif /* EVPN */ - struct overlay_index evpn_overlay; + struct bgp_route_evpn evpn_overlay; /* EVPN MAC Mobility sequence number, if any. */ uint32_t mm_seqnum; |