3 != 2
authorMarkus Kittenberger <Markus.Kittenberger@gmx.at>
Fri, 30 Sep 2011 07:47:11 +0000 (09:47 +0200)
committerMarkus Kittenberger <Markus.Kittenberger@gmx.at>
Fri, 30 Sep 2011 07:47:11 +0000 (09:47 +0200)
src/linux/net.c

index 1c47146..54d23ea 100644 (file)
@@ -170,7 +170,7 @@ static bool is_at_least_linuxkernel_2_6_31(void) {
     return false;
   }
 
-  if (strncmp(uts.release, "2", 1) >= 0) {
+  if (strncmp(uts.release, "3", 1) >= 0) {
     return true;
   }
   if (strncmp(uts.release, "2.6.", 4) != 0) {