summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-03-26 15:58:42 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-03-26 15:58:42 +0000
commit68a85b576d96ede8c8986fa4e27be8676f420c80 (patch)
treefcc1e6442a057eee8121b82db1e32b282699a2aa
parentd687f5a73f266fca38e3a31c912f0c9694da3d4c (diff)
downloadconntrack-tools-68a85b576d96ede8c8986fa4e27be8676f420c80.tar.gz
conntrack-tools-68a85b576d96ede8c8986fa4e27be8676f420c80.zip
fix minor compilation issue in amd64 with gcc4.3 (reported by Daniel Schepler
via M.Kellermann)
-rw-r--r--ChangeLog1
-rw-r--r--src/conntrack.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a7ffb25..6d94c6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ version 0.9.7 (yet unreleased)
Pablo Neira Ayuso <pablo@netfilter.org>:
o remove .svn directory from make distcheck tarballs (reported by B.Benjamini)
+o fix minor compilation issue in amd64 with gcc4.3 (reported by Daniel Schepler)
Krzysztof Oledzki <ole@ans.pl>:
o fix minor compilation warning
diff --git a/src/conntrack.c b/src/conntrack.c
index a6e7d6f..0ef230e 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -299,7 +299,7 @@ err2str(int err, enum action command)
{ CT_CREATE, ETIME, "conntrack has expired" },
{ EXP_CREATE, ENOENT, "master conntrack not found" },
{ EXP_CREATE, EINVAL, "invalid parameters" },
- { ~0UL, EPERM, "sorry, you must be root or get "
+ { ~0U, EPERM, "sorry, you must be root or get "
"CAP_NET_ADMIN capability to do this"}
};