summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ifpps.c b/ifpps.c
index 501fa50..3c98643 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -245,7 +245,7 @@ static int stats_proc_net_dev(const char *ifname, struct ifstat *stats)
if (strstr(buff, ifname_colon) == NULL)
continue;
- if (sscanf(buff, "%*[a-z0-9_ .-]:%llu%llu%llu%llu%llu%llu"
+ if (sscanf(buff, "%*[a-zA-Z0-9_ .-]:%llu%llu%llu%llu%llu%llu"
"%llu%*u%llu%llu%llu%llu%llu%llu%llu",
&stats->rx_bytes, &stats->rx_packets,
&stats->rx_errors, &stats->rx_drops,