[conntrack-tools] netlink: do not build the reply tuple in update messages

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Thu Dec 11 20:20:19 CET 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commit;h=9f937ba186c8f458f7cd0153a2b1e21ebf5264e5
commit 9f937ba186c8f458f7cd0153a2b1e21ebf5264e5
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Thu Dec 11 20:19:33 2008 +0100
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Thu Dec 11 20:19:33 2008 +0100

    netlink: do not build the reply tuple in update messages
    
    We do not need to include the reply tuple in the update messages.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
       via  9f937ba186c8f458f7cd0153a2b1e21ebf5264e5 (commit)
      from  785b627d0aa06a96d500d32f20c2d6f590b7a55b (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 9f937ba186c8f458f7cd0153a2b1e21ebf5264e5
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Thu Dec 11 20:19:33 2008 +0100

    netlink: do not build the reply tuple in update messages
    
    We do not need to include the reply tuple in the update messages.
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

-----------------------------------------------------------------------

 src/netlink.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
We do not need to include the reply tuple in the update messages.

Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

diff --git a/src/netlink.c b/src/netlink.c
index 8ba4fb7..8930e39 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -261,8 +261,6 @@ int nl_update_conntrack(struct nfct_handle *h, const struct nf_conntrack *orig)
 		nfct_attr_unset(ct, ATTR_MASTER_PORT_DST);
 	}
 
-	nfct_setobjopt(ct, NFCT_SOPT_SETUP_REPLY);
-
 	/*
 	 * TCP flags to overpass window tracking for recovered connections
 	 */



More information about the netfilter-cvslog mailing list