summaryrefslogtreecommitdiffstats
path: root/tests/bgpd/test_mp_attr.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 /tests/bgpd/test_mp_attr.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 'tests/bgpd/test_mp_attr.c')
-rw-r--r--tests/bgpd/test_mp_attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bgpd/test_mp_attr.c b/tests/bgpd/test_mp_attr.c
index 8db1cb2ca..603b678cf 100644
--- a/tests/bgpd/test_mp_attr.c
+++ b/tests/bgpd/test_mp_attr.c
@@ -1079,7 +1079,7 @@ int main(void)
bgp_vty_init();
master = thread_master_create("test mp attr");
bgp_master_init(master);
- vrf_init(NULL, NULL, NULL, NULL);
+ vrf_init(NULL, NULL, NULL, NULL, NULL);
bgp_option_set(BGP_OPT_NO_LISTEN);
bgp_attr_init();