]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: do not clear password if peer is dynamic
authorPat Ruddy <pat@voltanet.io>
Mon, 20 Jul 2020 12:54:04 +0000 (13:54 +0100)
committerPat Ruddy <pat@voltanet.io>
Tue, 1 Sep 2020 08:42:39 +0000 (09:42 +0100)
commit2734ff6bd8bcd66309f4fa1fdd866bae814d3a43
tree3c08c4be189b25323a13af3193a923e607bd6243
parenta4faae3aacb9336338ad6f2a6df2fa3ebec3d7ca
bgpd: do not clear password if peer is dynamic

When deleting a dynamic peer, unsetting md5 password would cause
it to be unset on the listener allowing unauthenticated connections
from any peer in the range.
Check for dynamic peers in peer delete and avoid this.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
bgpd/bgpd.c