mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-04 20:15:09 +01: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;
|
int rc, lines = 0;
|
||||||
|
|
||||||
consoleSelect(&tcp_console);
|
consoleSelect(&tcp_console);
|
||||||
console_print("\x1b[0;0H\x1b[K\n");
|
console_print("\x1b[0;0H\x1b[K");
|
||||||
optlen = sizeof(tcp_entries);
|
optlen = sizeof(tcp_entries);
|
||||||
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
|
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
|
||||||
if(rc != 0 && errno != ENODEV)
|
if(rc != 0 && errno != ENODEV)
|
||||||
|
Loading…
Reference in New Issue
Block a user