summaryrefslogtreecommitdiffstats
path: root/lib/if.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-01-28 17:41:28 +0000
committerpaulo <paul@bayleaf.org.uk>2010-01-28 17:41:28 +0000
commit4daba96cdd1dd33b21d8b7cc96b5a5b3c6230e41 (patch)
treea16d0b34403b3ec97c7ac315038d52e480aa6b5a /lib/if.c
parent63fdb51ba64992b4e26f248f80079a84b96f6270 (diff)
downloadquagga-4daba96cdd1dd33b21d8b7cc96b5a5b3c6230e41.tar.bz2
quagga-4daba96cdd1dd33b21d8b7cc96b5a5b3c6230e41.tar.xz
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.
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
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. */