From 4140ca4d153e8949afd6abc9e00fbbac3d47799c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 23 Sep 2015 13:26:56 -0700 Subject: lib: zclient.c remove extern struct thread_master * zclient.c depended upon link time inclusion of a extern struct thread_master *master. This is a violation of the namespace of the calling daemon. If a library needs the pointer pass it in and save it for future use. This code change also makes the zclient code consistent with the other lib functions that need to schedule work on your behalf Signed-off-by: Donald Sharp --- ospf6d/ospf6d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospf6d/ospf6d.c') diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 98d4e1787..a60c5b082 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1769,7 +1769,7 @@ ospf6_init (void) ospf6_area_init (); ospf6_interface_init (); ospf6_neighbor_init (); - ospf6_zebra_init (); + ospf6_zebra_init(master); ospf6_lsa_init (); ospf6_spf_init (); -- cgit v1.2.3