diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-07-24 18:57:20 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-07-24 19:43:09 -0300 |
| commit | 69f93be55a9146ba58e814964a77961cdba13bf9 (patch) | |
| tree | 9fc814b37f15d3beb04b9ea57d56a6e2c7e291b3 /lib/strlcat.c | |
| parent | 1e4d264f2bce049de4a7e90d2f7b9c1673b14c57 (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 'lib/strlcat.c')
0 files changed, 0 insertions, 0 deletions
