]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix define value of SCTP chunk type.
authorNaohiro Ooiwa <nooiwa@miraclelinux.com>
Fri, 29 Feb 2008 12:45:27 +0000 (12:45 +0000)
committerPatrick McHardy <kaber@trash.net>
Fri, 29 Feb 2008 12:45:27 +0000 (12:45 +0000)
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@miraclelinux.com>

extensions/libxt_sctp.c

index 4b9166a9a9675504db72172e80cd294607ca9997..2ca157206ff5b2b3611a95af437c3ccca9c07e8d 100644 (file)
@@ -125,8 +125,8 @@ static const struct sctp_chunk_names sctp_chunk_names[]
     { .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