From ecbc5a37815987aebabae835366b1f2ea18fb3b2 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 29 May 2018 11:17:10 +0200 Subject: *: add a vrf update hook to be informed of the vrf name The Vrf aliases can be known with a specific hook. That hook will then, from zebra propagate the information to the relevant zapi clients. The registration hook function is the same for all daemons. Signed-off-by: Philippe Guibert --- pimd/pim_instance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pimd/pim_instance.c') diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index 8dc48cc004..bf8d05d1e1 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -196,7 +196,8 @@ static int pim_vrf_config_write(struct vty *vty) void pim_vrf_init(void) { - vrf_init(pim_vrf_new, pim_vrf_enable, pim_vrf_disable, pim_vrf_delete); + vrf_init(pim_vrf_new, pim_vrf_enable, pim_vrf_disable, + pim_vrf_delete, NULL); vrf_cmd_init(pim_vrf_config_write, &pimd_privs); } -- cgit v1.2.3