Skip to content

Commit

Permalink
Fix empty first line on tcp table
Browse files Browse the repository at this point in the history
  • Loading branch information
mtheall committed Jun 15, 2016
1 parent 8c34814 commit 6d35bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6d35bc0

Please sign in to comment.