summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-07-24 18:57:20 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:06:13 +0200
commit6e4762e1cca9888ce8e6baaf29ea8f191635fc6a (patch)
tree8c85f8a1e1d24ced76ac4c157632eb1034951ccf /python/clidef.py
parent04427fcb48cbe2c9c312c8a8e0270c2bf6265ad1 (diff)
ldpd: fix bug with dual-stack neighbors
We were assuming that a neighbor can be deleted only when all of its adjacencies are dead. This is not the case for dual-stack neighbors. If the transport-preference is IPv4 and all adjacencies are IPv6 (or vice-versa), then it should be deleted and everything cleaned-up accordingly. Bug exposed by the new RB tree implementation on master, but the fix also applies to stable/3.0. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions