Fix empty first line on tcp table

This commit is contained in:
Michael Theall 2016-06-15 03:39:02 -05:00
parent 8c34814100
commit 6d35bc0716

View File

@ -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)