]> git.puffer.fish Git - matthieu/frr.git/commit
lib, zebra: Fix vrf new hook callback.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 Mar 2016 20:31:52 +0000 (16:31 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Apr 2016 19:26:19 +0000 (15:26 -0400)
commit4b8b28d235eec08a43f8e04cbff604bc5dde0d4a
tree887a83e049eb362f8a1c0f8ca48dc8a4fc26e2a2
parent0aaa34db89f7f222fe7fa91f899949221ffb60d1
lib, zebra: Fix vrf new hook callback.

This commit fixes two issues:

1) The creation of a new vrf from the cli was not calling the vrf_create hook.
This is fixed.

2) The zebra_vrf_delete callback was deleting interface information that
belonged to vrf not zvrf.  Remove the code as that it was not it's job
to do so.

Ticket: CM-10100
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
lib/vrf.c
zebra/main.c