From: Ian Jackson Date: Sun, 5 Jan 2014 15:33:27 +0000 (+0000) Subject: netlink: Remove a newline from p-t-p startup message X-Git-Tag: debian/0.3.1_beta1~19 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/34d3bf4cdcb2d2938c3b92573f66815e4d9392ac netlink: Remove a newline from p-t-p startup message 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 --- diff --git a/debian/changelog b/debian/changelog index 12b009c..9f02f1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ secnet (0.3.1~~unstable) unstable; urgency=low * Fix formatting error in secnet.8 manpage. * Internal code rearrangements and improvements. * Fix netlink SEGV on clientless netlinks (i.e. configuration error). + * Fix formatting error in p-t-p startup message. -- 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);