summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-07 15:28:12 +0200
committerF. Aragon <paco@voltanet.io>2018-09-18 17:39:16 +0200
commitf533be73f6e73e7c6c2f2093f4bec59862c08dd6 (patch)
tree78e6e3c28c4a84b7309aaedfa8b99cc8fc5e5501 /bgpd/bgp_zebra.h
parentMerge pull request #3017 from pacovn/devbuild_Wshadow_flag (diff)
downloadfrr-f533be73f6e73e7c6c2f2093f4bec59862c08dd6.tar.xz
frr-f533be73f6e73e7c6c2f2093f4bec59862c08dd6.zip
bgpd, doc, ldpd, lib, tests, zebra: LM fixes
Corrections so that the BGP daemon can work with the label manager properly through a label-manager proxy. Details: - Correction so the BGP daemon behind a proxy label manager gets the range correctly (-I added to the BGP daemon, to set the daemon instance id) - For the BGP case, added an asynchronous label manager connect command so the labels get recycled in case of a BGP daemon reconnection. With this, BGPd and LDPd would behave similarly. Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index c00d9925e..0223c423d 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -23,7 +23,8 @@
#include "vxlan.h"
-extern void bgp_zebra_init(struct thread_master *master);
+extern void bgp_zebra_init(struct thread_master *master,
+ unsigned short instance);
extern void bgp_zebra_init_tm_connect(struct bgp *bgp);
extern uint32_t bgp_zebra_tm_get_id(void);
extern bool bgp_zebra_tm_chunk_obtained(void);