summaryrefslogtreecommitdiffstats
path: root/sharpd/sharp_main.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 /sharpd/sharp_main.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 'sharpd/sharp_main.c')
-rw-r--r--sharpd/sharp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index f0e6e3db4..65b1837f6 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -146,7 +146,7 @@ int main(int argc, char **argv, char **envp)
master = frr_init();
- vrf_init(NULL, NULL, NULL, NULL);
+ vrf_init(NULL, NULL, NULL, NULL, NULL);
access_list_init();
route_map_init();