[libnetfilter_conntrack] add comment in expect_create test file
Pablo Neira
netfilter-cvslog-bounces at lists.netfilter.org
Tue Jul 15 12:17:27 CEST 2008
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnetfilter_conntrack.git;a=commit;h=d073c52600a052db2822b4f284a0b2c546ec1ea4
commit d073c52600a052db2822b4f284a0b2c546ec1ea4
Author: Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Tue Jul 15 12:16:47 2008 +0200
Commit: Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Tue Jul 15 12:16:47 2008 +0200
add comment in expect_create test file
The test file requires nf_conntrack_ftp to work properly, otherwise
it returns EINVAL. This patch adds a small comment to remember users
to load the module before going ahead.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
via d073c52600a052db2822b4f284a0b2c546ec1ea4 (commit)
from fa7230960f50c68b3f0fa9ff67102ff7ecd72a07 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d073c52600a052db2822b4f284a0b2c546ec1ea4
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Tue Jul 15 12:16:47 2008 +0200
add comment in expect_create test file
The test file requires nf_conntrack_ftp to work properly, otherwise
it returns EINVAL. This patch adds a small comment to remember users
to load the module before going ahead.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
-----------------------------------------------------------------------
utils/expect_create.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
The test file requires nf_conntrack_ftp to work properly, otherwise
it returns EINVAL. This patch adds a small comment to remember users
to load the module before going ahead.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
diff --git a/utils/expect_create.c b/utils/expect_create.c
index 3890c26..b366d01 100644
--- a/utils/expect_create.c
+++ b/utils/expect_create.c
@@ -5,6 +5,11 @@
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack_tcp.h>
+/*
+ * WARNING: This test file creates an expectation for the FTP helper.
+ * Therefore, make sure you have load nf_conntrack_ftp before executing it.
+ */
+
int main()
{
int ret;
More information about the netfilter-cvslog
mailing list