mirror of
https://github.com/mtheall/ftpd.git
synced 2024-11-23 09:39:43 +00:00
Fix empty first line on tcp table
This commit is contained in:
parent
8c34814100
commit
6d35bc0716
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user