diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-07-10 15:20:14 +0200 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-07-10 15:20:27 +0200 |
commit | dcfeb7a956b9737ea1ef5bd2eec14e7c4284bc1e (patch) | |
tree | c330ea2e1e02478e9100ab9b6af661ac7bf4a6a7 /tests | |
parent | zebra: label manager refactor (diff) | |
download | frr-dcfeb7a956b9737ea1ef5bd2eec14e7c4284bc1e.tar.xz frr-dcfeb7a956b9737ea1ef5bd2eec14e7c4284bc1e.zip |
ldpd: set default instance to 1
LDP opens two sockets to zebra, one through ldpd (always using
instance 0) and another through lde (using whatever instance
was set through the -n command line parameter). If no instance
was set, both connections would use the same protocol and instance,
making it impossible to distinguish them through zserv_find_client.
This meant that a response to a lm connect would erroneously go to
the wrong process. Fix this by having a default instance value of 1,
in case the user does not specify a different one.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions