summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-11-12 16:40:47 +0100
committerGitHub <noreply@github.com>2018-11-12 16:40:47 +0100
commit9f0dc29b03355cf31d980de4553697b196bd9e32 (patch)
tree9c9ac5f11ed32d015ffa09dfe557f13462f75406 /tests
parentMerge pull request #3285 from srimohans/watchfrr (diff)
parent*: Replace zclient_new with zclient_new_notify (diff)
downloadfrr-9f0dc29b03355cf31d980de4553697b196bd9e32.tar.xz
frr-9f0dc29b03355cf31d980de4553697b196bd9e32.zip
Merge pull request #3276 from donaldsharp/zclient_update
*: Replace zclient_new with zclient_new_notify
Diffstat (limited to 'tests')
-rw-r--r--tests/bgpd/test_mpath.c2
-rw-r--r--tests/test_lblmgr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgpd/test_mpath.c b/tests/bgpd/test_mpath.c
index f0797827c..04fbda42e 100644
--- a/tests/bgpd/test_mpath.c
+++ b/tests/bgpd/test_mpath.c
@@ -379,7 +379,7 @@ static int global_test_init(void)
{
qobj_init();
master = thread_master_create(NULL);
- zclient = zclient_new_notify(master, &zclient_options_default);
+ zclient = zclient_new(master, &zclient_options_default);
bgp_master_init(master);
vrf_init(NULL, NULL, NULL, NULL, NULL);
bgp_option_set(BGP_OPT_NO_LISTEN);
diff --git a/tests/test_lblmgr.c b/tests/test_lblmgr.c
index 9d1c05436..e71e680fa 100644
--- a/tests/test_lblmgr.c
+++ b/tests/test_lblmgr.c
@@ -119,7 +119,7 @@ void init_zclient(struct thread_master *master, char *lm_zserv_path)
{
frr_zclient_addr(&zclient_addr, &zclient_addr_len, lm_zserv_path);
- zclient = zclient_new_notify(master, &zclient_options_default);
+ zclient = zclient_new(master, &zclient_options_default);
/* zclient_init(zclient, ZEBRA_LABEL_MANAGER, 0); */
zclient->sock = -1;
zclient->redist_default = ZEBRA_ROUTE_LDP;