diff options
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 926c82ef..c9a5db01 100644 --- a/interface.c +++ b/interface.c @@ -174,7 +174,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo) else { char *sp = strchr(ifname, '/'); - + /* hide slash and trailing info from ifname */ if (sp) *sp = '\0'; result = _get_ifinfoGT_(socket_fd, stats_file, ifname, ifinfo); |