From 9cc1f1c7cf7eae4a795849ef637203e1d3cd38c1 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 16 Jul 2009 10:51:41 +0200 Subject: 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 --- src/conntrack/copy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/conntrack/copy.c') diff --git a/src/conntrack/copy.c b/src/conntrack/copy.c index a76edf4..63bdf0b 100644 --- a/src/conntrack/copy.c +++ b/src/conntrack/copy.c @@ -256,10 +256,10 @@ static void copy_attr_dccp_role(struct nf_conntrack *dest, dest->protoinfo.dccp.role = orig->protoinfo.dccp.role; } -static void copy_attr_dccp_seq(struct nf_conntrack *dest, - const struct nf_conntrack *orig) +static void copy_attr_dccp_handshake_seq(struct nf_conntrack *dest, + const struct nf_conntrack *orig) { - dest->protoinfo.dccp.seq = orig->protoinfo.dccp.seq; + dest->protoinfo.dccp.handshake_seq = orig->protoinfo.dccp.handshake_seq; } static void copy_attr_snat_ipv4(struct nf_conntrack *dest, @@ -454,5 +454,5 @@ copy_attr copy_attr_array[ATTR_MAX] = { [ATTR_HELPER_NAME] = copy_attr_helper_name, [ATTR_DCCP_STATE] = copy_attr_dccp_state, [ATTR_DCCP_ROLE] = copy_attr_dccp_role, - [ATTR_DCCP_SEQ] = copy_attr_dccp_seq, + [ATTR_DCCP_HANDSHAKE_SEQ] = copy_attr_dccp_handshake_seq, }; -- cgit v1.2.3