]> git.puffer.fish Git - mirror/frr.git/commit
BGP: Fix interface list upon instance creation/deletion
authorvivek <vivek@cumulusnetworks.com>
Tue, 23 Feb 2016 23:55:06 +0000 (23:55 +0000)
committervivek <vivek@cumulusnetworks.com>
Wed, 24 Feb 2016 04:09:21 +0000 (04:09 +0000)
commitb33adb7c40a60b2313c140250eb044058a7b8858
treefec06c22d0c09a8076627ddd38fdca23d8ac901c
parent02ba10e59572dc4c5e16f3c5b4f7a7bd4c8b65c0
BGP: Fix interface list upon instance creation/deletion

The BGP instance cleanup was deleting interfaces in that instance after
prior fixes, but this ended up deleting the interface list header which
was not being re-created. Added code to re-create this at the time an
instance is created.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Ticket: CM-9466
Reviewed By: CCR-4164
Testing Done: Manual and verified failed test
bgpd/bgpd.c
bgpd/bgpd.h
lib/vrf.c
lib/vrf.h