diff options
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 86332300..287eaf18 100644 --- a/interface.c +++ b/interface.c @@ -178,7 +178,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo) /* hide slash and trailing info from ifname */ if (sp) *sp = '\0'; - result = _get_ifinfoGT_(socket_fd, stats_file, ifname, ifinfo); + result = _get_ifinfoGT_(socket_fd, stats_file, tmp, ifinfo); free(tmp); } if (socket_fd >= 0) |