Don't print an empty line at the end of `route sourceaddr`
authordanj <danj@openbsd.org>
Sat, 30 Jan 2021 22:00:06 +0000 (22:00 +0000)
committerdanj <danj@openbsd.org>
Sat, 30 Jan 2021 22:00:06 +0000 (22:00 +0000)
ok denis

sbin/route/show.c

index ff794e0..bcb67da 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: show.c,v 1.118 2021/01/24 08:58:50 florian Exp $      */
+/*     $OpenBSD: show.c,v 1.119 2021/01/30 22:00:06 danj Exp $ */
 /*     $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $     */
 
 /*
@@ -176,7 +176,6 @@ printsource(int af, u_int tableid)
                }
        }
        free(buf);
-       printf("\n");
 
        exit(0);
 }