summaryrefslogtreecommitdiffstats
path: root/staticd/static_vrf.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-05-29 11:17:10 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-08-28 16:23:50 +0200
commitecbc5a37815987aebabae835366b1f2ea18fb3b2 (patch)
treef8badb4b6d2f02c2a5f6c9120a17c8a1741fd167 /staticd/static_vrf.c
parentlib: autocomple vrf list authorises default vrf name (diff)
downloadfrr-ecbc5a37815987aebabae835366b1f2ea18fb3b2.tar.xz
frr-ecbc5a37815987aebabae835366b1f2ea18fb3b2.zip
*: 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 <philippe.guibert@6wind.com>
Diffstat (limited to 'staticd/static_vrf.c')
-rw-r--r--staticd/static_vrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_vrf.c b/staticd/static_vrf.c
index 6946f2127..d33c1539c 100644
--- a/staticd/static_vrf.c
+++ b/staticd/static_vrf.c
@@ -190,7 +190,7 @@ int static_vrf_has_config(struct static_vrf *svrf)
void static_vrf_init(void)
{
vrf_init(static_vrf_new, static_vrf_enable,
- static_vrf_disable, static_vrf_delete);
+ static_vrf_disable, static_vrf_delete, NULL);
vrf_cmd_init(static_vrf_config_write, &static_privs);
}