diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-01 22:59:45 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-01 22:59:45 +0000 |
commit | ad79337dc4e50a66e725ea0b80a42731364ff6c3 (patch) | |
tree | c4772cf44f66fce87cefc4cf0b197e42120da533 /interface.c | |
parent | 343f9984ce85c3fcf1b92b78fc694a20ba0f1db7 (diff) | |
download | fetchmail-ad79337dc4e50a66e725ea0b80a42731364ff6c3.tar.gz fetchmail-ad79337dc4e50a66e725ea0b80a42731364ff6c3.tar.bz2 fetchmail-ad79337dc4e50a66e725ea0b80a42731364ff6c3.zip |
Fix version check to work on major >= 3.
svn path=/trunk/; revision=4062
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"; } |