From 6d35bc071633592e7d8f7cc8103c3499fc20661c Mon Sep 17 00:00:00 2001 From: Michael Theall Date: Wed, 15 Jun 2016 03:39:02 -0500 Subject: [PATCH] Fix empty first line on tcp table --- source/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/console.c b/source/console.c index 8b9adf7..dfad8b3 100644 --- a/source/console.c +++ b/source/console.c @@ -76,7 +76,7 @@ print_tcp_table(void) int rc, lines = 0; consoleSelect(&tcp_console); - console_print("\x1b[0;0H\x1b[K\n"); + console_print("\x1b[0;0H\x1b[K"); optlen = sizeof(tcp_entries); rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen); if(rc != 0 && errno != ENODEV)