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 c264f22b..45706c0f 100644 --- a/interface.c +++ b/interface.c @@ -91,7 +91,7 @@ void interface_init(void) int major, minor; if (sscanf(utsname.release, "%d.%d.%*d", &major, &minor) >= 2 - && !(major >= 2 && minor >= 2)) + && (major < 2 || (major == 2 && minor < 2))) /* pre-linux-2.2 format -- transmit packet count in 8th field */ netdevfmt = "%d %d %*d %*d %*d %d %*d %d %*d %*d %*d %*d %d"; } |