diff -u -r guarddog-2.6.0-old/src/guarddog.cpp guarddog-2.6.0/src/guarddog.cpp
--- guarddog-2.6.0-old/src/guarddog.cpp	2006-11-27 23:28:50.000000000 -0800
+++ guarddog-2.6.0/src/guarddog.cpp	2012-02-11 11:35:18.331008000 -0800
@@ -2909,13 +2909,7 @@
         "fi;\n"
         "# Check for iptables support.\n"
         "if [ -e /proc/sys/kernel/osrelease ]; then\n"
-        "  KERNEL_VERSION=`sed \"s/^\\([0-9][0-9]*\\.[0-9][0-9]*\\).*\\$/\\1/\" < /proc/sys/kernel/osrelease`\n"
-        "  if [ $KERNEL_VERSION == \"2.6\" ]; then\n"
         "    KERNEL_VERSION=\"2.4\"\n"
-        "  fi;\n"
-        "  if [ $KERNEL_VERSION == \"2.5\" ]; then\n"
-        "    KERNEL_VERSION=\"2.4\"\n"
-        "  fi;\n"
         "  if [ $KERNEL_VERSION == \"2.4\" ]; then\n"
         "    if [ -e /sbin/iptables ]; then\n"
         "      FILTERSYS=2\n"
diff -u -r guarddog-2.6.0-old/src/guarddogdoc.cpp guarddog-2.6.0/src/guarddogdoc.cpp
--- guarddog-2.6.0-old/src/guarddogdoc.cpp	2006-11-26 02:47:09.000000000 -0800
+++ guarddog-2.6.0/src/guarddogdoc.cpp	2012-02-11 11:35:33.002337000 -0800
@@ -602,13 +602,7 @@
         "fi;\n"
         "# Check for iptables support.\n"
         "if [ -e /proc/sys/kernel/osrelease ]; then\n"
-        "  KERNEL_VERSION=`sed \"s/^\\([0-9][0-9]*\\.[0-9][0-9]*\\).*\\$/\\1/\" < /proc/sys/kernel/osrelease`\n"
-        "  if [ $KERNEL_VERSION == \"2.6\" ]; then\n"
         "    KERNEL_VERSION=\"2.4\"\n"
-        "  fi;\n"
-        "  if [ $KERNEL_VERSION == \"2.5\" ]; then\n"
-        "    KERNEL_VERSION=\"2.4\"\n"
-        "  fi;\n"
         "  if [ $KERNEL_VERSION == \"2.4\" ]; then\n"
         "    if [ -e /sbin/iptables ]; then\n"
         "      FILTERSYS=2\n"
