diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-16 19:11:00 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-04-16 19:11:00 +0000 |
commit | c3f7e69aa593dc85cfd344705991ce7673eecacc (patch) | |
tree | ab3aff9b52deb6b015512983c24d98987679ca3a | |
parent | 0cae10430a2668ccb1fbf3384626de2a454e4aa9 (diff) |
Format string cleanup. OK millert, henning, claudio
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 1346d473f21..73a1c05952b 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.156 2005/03/28 15:16:46 henning Exp $ */ +/* $OpenBSD: rde.c,v 1.157 2005/04/16 19:10:59 cloder Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1422,7 +1422,7 @@ rde_update_log(const char *message, if (asprintf(&p, "%s/%u", log_addr(prefix), prefixlen) == -1) p = NULL; - log_info("neighbor %s (AS%u) %s %s/%u %s", + log_info("neighbor %s (AS%u) %s %s %s", log_addr(&peer->conf.remote_addr), peer->conf.remote_as, message, p ? p : "out of memory", nexthop ? nexthop : ""); |