diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-13 13:30:44 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-13 13:30:44 +0200 |
commit | 6dd45b13115d77860a8e3b37caa1560cbcfd265c (patch) | |
tree | 40134abc6459484107d77751bbcf1562ce98dea3 /utils | |
parent | fb92f85dcc664ad94c1d2919b729086eee774893 (diff) |
helper: explicit helper assignation supportlibnetfilter_conntrack-0.0.97
This patch adds support for explicit helper assignation. This support
will not be of any help without the appropriate kernel support that will
go into the Linux kernel 2.6.29 -sic-.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/conntrack_create.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/conntrack_create.c b/utils/conntrack_create.c index bc591b5..34efa57 100644 --- a/utils/conntrack_create.c +++ b/utils/conntrack_create.c @@ -29,6 +29,7 @@ int main() nfct_set_attr_u8(ct, ATTR_TCP_STATE, TCP_CONNTRACK_LISTEN); nfct_set_attr_u32(ct, ATTR_TIMEOUT, 100); + nfct_set_attr(ct, ATTR_HELPER_NAME, "ftp"); h = nfct_open(CONNTRACK, 0); if (!h) { |