mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-10 06:48:22 +08:00
Added function to print network interface statistics.
This commit is contained in:
@@ -889,6 +889,8 @@ int common_info_cmd(DBusMessageIter * args)
|
||||
else
|
||||
fprintf(out, "\n");
|
||||
|
||||
print_iface_stats(device, since, out);
|
||||
|
||||
if (hostname != NULL && hostname[0] != 0)
|
||||
fprintf(out, "\tHostname: %s\n", hostname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user