chiark / gitweb /
netlink: Remove a newline from p-t-p startup message
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 5 Jan 2014 15:33:27 +0000 (15:33 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Apr 2014 00:45:03 +0000 (01:45 +0100)
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@chiark.greenend.org.uk>
debian/changelog
netlink.c

index 12b009cf6a732111e7610826cce4326935b5b22c..9f02f1e1b18f05b7cd5d1cf04398887f59cdb417 100644 (file)
@@ -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.
 
  --
 
index 6384c02220720721d9f8a123e83d976a0e21c9ac..794bffe7b5c6bf3755e7b9c64817b2816eed8865 100644 (file)
--- 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);