[netfilter-cvslog] r7386 - trunk/iptables/extensions

kaber at trash.net kaber at trash.net
Fri Feb 29 13:45:28 CET 2008


Author: kaber at trash.net
Date: 2008-02-29 13:45:27 +0100 (Fri, 29 Feb 2008)
New Revision: 7386

Modified:
   trunk/iptables/extensions/libxt_sctp.c
Log:
[PATCH] Fix define value of SCTP chunk type.

There are wrong chunk_type values in sctp table.
The chunk_type of ASCONF and ASCNF_ACK must be 193 and 128, respectively.

Naohiro Ooiwa <nooiwa at miraclelinux.com>


Modified: trunk/iptables/extensions/libxt_sctp.c
===================================================================
--- trunk/iptables/extensions/libxt_sctp.c	2008-02-22 23:21:37 UTC (rev 7385)
+++ trunk/iptables/extensions/libxt_sctp.c	2008-02-29 12:45:27 UTC (rev 7386)
@@ -125,8 +125,8 @@
     { .name = "ECN_ECNE",	.chunk_type = 12,  .valid_flags = "--------"},
     { .name = "ECN_CWR",	.chunk_type = 13,  .valid_flags = "--------"},
     { .name = "SHUTDOWN_COMPLETE", .chunk_type = 14,  .valid_flags = "-------T"},
-    { .name = "ASCONF",		.chunk_type = 31,  .valid_flags = "--------"},
-    { .name = "ASCONF_ACK",	.chunk_type = 30,  .valid_flags = "--------"},
+    { .name = "ASCONF",		.chunk_type = 193,  .valid_flags = "--------"},
+    { .name = "ASCONF_ACK",	.chunk_type = 128,  .valid_flags = "--------"},
 };
 
 static void




More information about the netfilter-cvslog mailing list