From 4daba96cdd1dd33b21d8b7cc96b5a5b3c6230e41 Mon Sep 17 00:00:00 2001 From: paulo Date: Thu, 28 Jan 2010 17:41:28 +0000 Subject: Changed zclient to use qfiles etc when we have a nexus. For BGP client it runs in the routing_nexus. Makefile tidied. Fixed a few warnings. Re-enabled zclient, horrors of horrors bpg_nexthop thought it OK to poke arround with zclients threads directly. Now fixed, all private to zclient. --- lib/if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/if.c') diff --git a/lib/if.c b/lib/if.c index e3107116..d14cfb93 100644 --- a/lib/if.c +++ b/lib/if.c @@ -664,7 +664,7 @@ connected_log (struct connected *connected, char *str) strncat (logbuf, inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ), BUFSIZ - strlen(logbuf)); } - zlog (NULL, LOG_INFO, logbuf); + zlog (NULL, LOG_INFO, "%s", logbuf); } /* If two connected address has same prefix return 1. */ -- cgit v1.2.3