summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_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 /nhrpd/nhrp_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 'nhrpd/nhrp_main.c')
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index e9f44e855..737e70103 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -130,7 +130,7 @@ int main(int argc, char **argv)
/* Library inits. */
master = frr_init();
nhrp_error_init();
- vrf_init(NULL, NULL, NULL, NULL);
+ vrf_init(NULL, NULL, NULL, NULL, NULL);
nhrp_interface_init();
resolver_init();