[PATCH 3/3] netlink: Remove a newline from p-t-p startup message

Ian Jackson ijackson at chiark.greenend.org.uk
Sun Jan 5 15:44:53 GMT 2014


Another newline will be printed later, after the routes.  With one
link per tunnel it's better to make these messages (of which there are
many) one line each.

Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
---
 netlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netlink.c b/netlink.c
index 6384c02..794bffe 100644
--- a/netlink.c
+++ b/netlink.c
@@ -765,7 +765,7 @@ static void netlink_dump_routes(struct netlink *st, bool_t requested)
     if (requested) c=M_WARNING;
     if (st->ptp) {
 	net=ipaddr_to_string(st->secnet_address);
-	Message(c,"%s: point-to-point (remote end is %s); routes:\n",
+	Message(c,"%s: point-to-point (remote end is %s); routes: ",
 		st->name, net);
 	free(net);
 	netlink_output_subnets(st,c,st->clients->subnets);
-- 
1.7.10.4




More information about the sgo-software-discuss mailing list