diff options
author | paco <paco@voltanet.io> | 2018-06-07 15:28:12 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-09-18 17:39:16 +0200 |
commit | f533be73f6e73e7c6c2f2093f4bec59862c08dd6 (patch) | |
tree | 78e6e3c28c4a84b7309aaedfa8b99cc8fc5e5501 /ldpd | |
parent | Merge pull request #3017 from pacovn/devbuild_Wshadow_flag (diff) | |
download | frr-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 'ldpd')
-rw-r--r-- | ldpd/lde.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/lde.c b/ldpd/lde.c index 810439888..4f74d9304 100644 --- a/ldpd/lde.c +++ b/ldpd/lde.c @@ -1641,7 +1641,7 @@ static void zclient_sync_init(unsigned short instance) sock_set_nonblock(zclient_sync->sock); /* Connect to label manager */ - while (lm_label_manager_connect(zclient_sync) != 0) { + while (lm_label_manager_connect(zclient_sync, 0) != 0) { log_warnx("Error connecting to label manager!"); sleep(1); } |