]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: remove unused variable
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 7 Mar 2020 22:19:13 +0000 (23:19 +0100)
committerDavid Lamparter <equinox@diac24.net>
Thu, 23 Apr 2020 17:10:43 +0000 (19:10 +0200)
This fixes a linking issue on Fedora Rawhide:
/usr/bin/ld: bgpd/libbgp.a(bgp_flowspec.o):/home/ruben/src/frr/./bgpd/bgp_attr_evpn.h:37: multiple definition of `eth_tag_id'; bgpd/bgp_btoa-bgp_btoa.o:/home/ruben/src/frr/./bgpd/bgp_attr_evpn.h:37: first defined here
collect2: error: ld returned 1 exit status

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit 01feb0907f6e7f72fbd973dba1ea69489f11a9c7)

bgpd/bgp_attr_evpn.h

index 5b0ce1da2886ec290a752f1d87de634ba7682f92..9582de8d2cc3fa1836255a46ba80ce2d251c28de 100644 (file)
@@ -34,7 +34,6 @@
 
 #define MAX_ET 0xffffffff
 
-unsigned long eth_tag_id;
 struct attr;
 
 /* EVPN ESI */