diff options
author | Roman Hoog Antink <rha@open.ch> | 2013-01-18 13:52:03 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2013-02-23 18:22:34 +0100 |
commit | 0e4303d3173ecc264b3ec39a863174670bbe2900 (patch) | |
tree | f525c8543f07581c9a87fcffb843537e87ddf820 /lib/thread.c | |
parent | f1ef81b2476ea533ac3d2129aa0e89653c427323 (diff) |
bgpd: fix lost passwords of grouped neighbors
This patch resolves the significance of order of group and password
statements.
It prevents passwords from being lost in cases where all
three conditions apply:
1. the peer is member of a group with or without group password
2. the peer has an individual password set
3. the peer is added to a group within an address-family ipv6
section
In addition this patch prevents the same issue in cases, where an IPv4
peer's password is set first and the peer is added to a group
afterwards.
Adding a peer to a group cancels his individual password. Without ipv6
this is not a problem, because choosing the right order of config
statements will do (set password only after adding peer to group).
When adding the peer to a group within the address-family
section, his password is definitely lost. The same workaround (ie.
setting the password after the address-family section) can not be used,
because "show run" will print the configuration statements in the wrong
order.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/thread.c')
0 files changed, 0 insertions, 0 deletions