summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2014-04-25 13:39:23 +0200
committerJesper Dangaard Brouer <brouer@redhat.com>2014-04-25 13:44:17 +0200
commitf8206181da2a8d7e24c60d19f2193cf8f5ebe54e (patch)
tree7d387e791f92cadb45d0240665e3f96137641b2e /AUTHORS
parentbcd86fee383d25b14a2a85ec53b8a10e93d1e590 (diff)
ifpps: fix matching wrong interface/device
There were a bug in ifpps, that would match the first occurance of a device/interface name in /proc/net/dev, because it located the device based on a substring. If the device name were starting with the same characters, e.g. having a device named eth4 and a VLAN device named eth4.100. If specifying --dev eth4, then depending on the order of /proc/net/dev the wrong device could be choosen for stats. (Note kernel does not guarantee the order of devices in proc file) Fix the bug, by matching with a colon ':' appended to the device name, as the kernel proc format prints a ':' behind the device name. Fixes #119 Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions