diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-07-16 10:51:41 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-07-16 10:51:41 +0200 |
commit | 9cc1f1c7cf7eae4a795849ef637203e1d3cd38c1 (patch) | |
tree | 74056b167634931c2b766ca4c4f3473ebb280f0c /src/conntrack/parse.c | |
parent | 2d740aa3fba7435d563ea0cc9a45c7bd2d3f1e73 (diff) |
src: rename ATTR_DCCP_SEQ by ATTR_DCCP_HANDSHAKE_SEQ
This patch renames the attribute constant to access the DCCP
handshake sequence number that was recently committed in
19f35b21dbe2bb4386eeced4e0d87f3b2e1dd8bf. No release with
the old name has been done, so no problems about backward
compatibility although it'd be better if I don't push changes
that I have to modify very soon afterwards.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/conntrack/parse.c')
-rw-r--r-- | src/conntrack/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conntrack/parse.c b/src/conntrack/parse.c index 99dc913..ce4b673 100644 --- a/src/conntrack/parse.c +++ b/src/conntrack/parse.c @@ -262,9 +262,9 @@ static void __parse_protoinfo_dccp(const struct nfattr *attr, set_bit(ATTR_DCCP_ROLE, ct->set); } if (tb[CTA_PROTOINFO_DCCP_SEQ-1]) { - ct->protoinfo.dccp.seq = + ct->protoinfo.dccp.handshake_seq = *(u_int64_t *)NFA_DATA(tb[CTA_PROTOINFO_DCCP_SEQ-1]); - set_bit(ATTR_DCCP_SEQ, ct->set); + set_bit(ATTR_DCCP_HANDSHAKE_SEQ, ct->set); } } |