summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaohiro Ooiwa <nooiwa@miraclelinux.com>2008-02-29 12:45:27 +0000
committerPatrick McHardy <kaber@trash.net>2008-02-29 12:45:27 +0000
commitecd7f5ed3bbdb45f7edc8febea6f29cd61bf58db (patch)
tree89bfcb5f16755f876ab571cf265c2ed774a1eb50
parente75a227c1ba6ddaceb63969eb4df27dbd98a3dfc (diff)
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@miraclelinux.com>
-rw-r--r--extensions/libxt_sctp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index 4b9166a9..2ca15720 100644
--- a/extensions/libxt_sctp.c
+++ b/extensions/libxt_sctp.c
@@ -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