diff options
| author | paco <paco@voltanet.io> | 2018-06-07 15:28:12 +0200 |
|---|---|---|
| committer | paco <paco@voltanet.io> | 2018-06-07 15:28:59 +0200 |
| commit | e73380ce47d8838a6f4f0e9f7b6443e731bede96 (patch) | |
| tree | 19230a4980bdba5fbbdd8b3a17f402298ac97ae1 /tests/test_lblmgr.c | |
| parent | f89270226297ec1f1a8290481d1dc7fb66d71422 (diff) | |
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 'tests/test_lblmgr.c')
| -rw-r--r-- | tests/test_lblmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_lblmgr.c b/tests/test_lblmgr.c index c751c0b12d..255e9a537b 100644 --- a/tests/test_lblmgr.c +++ b/tests/test_lblmgr.c @@ -55,7 +55,7 @@ static int zebra_send_label_manager_connect() printf("Connect to Label Manager\n"); - ret = lm_label_manager_connect(zclient); + ret = lm_label_manager_connect(zclient, 0); printf("Label Manager connection result: %u \n", ret); if (ret != 0) { fprintf(stderr, "Error %d connecting to Label Manager %s\n", |
