diff options
| author | Pat Ruddy <pat@voltanet.io> | 2020-07-21 15:03:41 +0100 |
|---|---|---|
| committer | Pat Ruddy <pat@voltanet.io> | 2020-09-01 09:42:26 +0100 |
| commit | a4faae3aacb9336338ad6f2a6df2fa3ebec3d7ca (patch) | |
| tree | cee68399442a368e0182ea937e5c0886423e5705 /lib/command_py.c | |
| parent | 48a1bbdf76ed74510a8d78c5d736dfa8c85e9e59 (diff) | |
bgpd: associate listener with the appropriate bgp instance
When setting authentication on a BGP peer in a VRF the listener is
looked up from a global list. However there is no check that the
listener is the one associated with the VRF being configured. This
can result in the wrong listener beiong configured with a password,
leaving the intended listener in an open authentication state.
To simplify this lookup stash a pointer to the bgp instance in
the listener on creating (in the same way as is done for NS-based
VRFS).
Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
