summaryrefslogtreecommitdiffstats
path: root/print-sctp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
commit31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d (patch)
tree99d6c086833d530e5d1d33a8128961f8149843f0 /print-sctp.c
parentAdding upstream version 4.99.4. (diff)
downloadtcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.tar.xz
tcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.zip
Adding upstream version 4.99.5.upstream/4.99.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--print-sctp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/print-sctp.c b/print-sctp.c
index ad0f785..e49fc41 100644
--- a/print-sctp.c
+++ b/print-sctp.c
@@ -35,9 +35,7 @@
/* \summary: Stream Control Transmission Protocol (SCTP) printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -293,7 +291,7 @@ struct sctpUnifiedAbortHeavy{
};
/* For the graceful shutdown we must carry
- * the tag (in common header) and the highest consequitive acking value
+ * the tag (in common header) and the highest consecutive acking value
*/
struct sctpShutdown {
nd_uint32_t TSN_Seen;
@@ -554,8 +552,7 @@ sctp_print(netdissect_options *ndo,
chunkID = GET_U_1(chunkDescPtr->chunkID);
ND_PRINT("[%s] ", tok2str(sctp_chunkid_str, "Unknown chunk type: 0x%x",
chunkID));
- switch (chunkID)
- {
+ switch (chunkID) {
case SCTP_DATA :
{
const struct sctpDataPart *dataHdrPtr;