]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix rpki segfault
authorMarcel Röthke <marcel.roethke@haw-hamburg.de>
Sun, 1 Jul 2018 20:54:51 +0000 (22:54 +0200)
committerMarcel Röthke <marcel.roethke@haw-hamburg.de>
Mon, 2 Jul 2018 19:15:47 +0000 (21:15 +0200)
commit768812900b100fd1c18f8b6438f9e004b858f2db
treedae805b9559459f17bff2d9b79ec54e0f747f5ba
parent5ca75c5c3c7eb58416a46f4b468ebefab2a175fe
bgpd: fix rpki segfault

If a cache server was added after rpki was started it's tr_socket would
not be initialized. This would lead to a segfault if the rtr manager
ever decides to switch to that socket or if rpki support is stopped.

Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
bgpd/bgp_rpki.c