aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-15 02:48:02 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:02:39 -0500
commit9b1c2cfd7a8b3840cf5c99d0560e641ff4a3425b (patch)
treea3d7f7462fa119bec4073da62709a5c378ffd8c2
parente37b386c95fff34eb0eebeaf257c4f5a8b69b81f (diff)
[NETFILTER]: nf_conntrack_sctp: replace magic value by symbolic constant
Use SCTP_CHUNK_FLAG_T instead of 0x1. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/netfilter/nf_conntrack_proto_sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_proto_sctp.c b/net/netfilter/nf_conntrack_proto_sctp.c
index 177e8f60aa1c..14b1c02c4775 100644
--- a/net/netfilter/nf_conntrack_proto_sctp.c
+++ b/net/netfilter/nf_conntrack_proto_sctp.c
@@ -341,7 +341,7 @@ static int sctp_packet(struct nf_conn *ct,
341 /* Sec 8.5.1 (C) */ 341 /* Sec 8.5.1 (C) */
342 if (sh->vtag != ct->proto.sctp.vtag[dir] && 342 if (sh->vtag != ct->proto.sctp.vtag[dir] &&
343 sh->vtag != ct->proto.sctp.vtag[!dir] && 343 sh->vtag != ct->proto.sctp.vtag[!dir] &&
344 (sch->flags & 1)) 344 sch->flags & SCTP_CHUNK_FLAG_T)
345 goto out_unlock; 345 goto out_unlock;
346 } else if (sch->type == SCTP_CID_COOKIE_ECHO) { 346 } else if (sch->type == SCTP_CID_COOKIE_ECHO) {
347 /* Sec 8.5.1 (D) */ 347 /* Sec 8.5.1 (D) */