summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/conntrack.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 97d599a..e4573e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2005-08-31
<pablo@netfilter.org>
o Fix packet and bytes counters (use __be64_to_cpu)
+ o Fix ip_conntrack_netlink load-on-demand
2005-07-12
<pablo@eurodev.net>
diff --git a/src/conntrack.c b/src/conntrack.c
index 12825b4..115cc62 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -969,7 +969,7 @@ int main(int argc, char *argv[])
break;
}
/* Maybe ip_conntrack_netlink isn't insmod'ed */
- if (res == -1 && retry)
+ if (res < 0 && retry)
/* Give it a try just once */
iptables_insmod("ip_conntrack_netlink", NULL);
else