summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-08-31 00:01:36 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-08-31 00:01:36 +0000
commit6441e0d758fe88e2b20bb433cebf29757ed6a449 (patch)
treef666a063b652ab4bcf353858d7bf519145e84a26 /src
parentf4d2d25300de7169a02bf48d0bcbf6d3d592cf8f (diff)
downloadconntrack-tools-6441e0d758fe88e2b20bb433cebf29757ed6a449.tar.gz
conntrack-tools-6441e0d758fe88e2b20bb433cebf29757ed6a449.zip
Fix ip_conntrack_netlink load-on-demand
Diffstat (limited to 'src')
-rw-r--r--src/conntrack.c2
1 files changed, 1 insertions, 1 deletions
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