]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: fix crash with vpnv4 soft-reconfiguration
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Mon, 7 May 2012 15:17:34 +0000 (15:17 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 21 May 2012 13:48:30 +0000 (15:48 +0200)
commit8692c506520f6b268525b80890702432c95f13c4
tree0446939f0c84705bc0da3f23b45e97fd21886269
parent1b79fcb646f66682a62cf34f3cc343b1a9706699
bgpd: fix crash with vpnv4 soft-reconfiguration

bgp_afi_node_get() expects a non-NULL prd for a SAFI_MPLS_VPN prefix.

* bgp_route.c: pass down the struct prefix_rd from bgp_soft_reconfig_in()
  and bgp_soft_reconfig_rsclient().

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_route.c