summaryrefslogtreecommitdiff
path: root/print-sctp.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-29 08:34:05 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-29 08:35:54 +0400
commit5797b57c4413d3f9ca0f46dd38811923eea21280 (patch)
treeb79509a9000501611f87725749e0658bf9cccf0f /print-sctp.c
parent48f596ccb10ba6fdcd672cfec798b0012865492e (diff)
downloadtcpdump-5797b57c4413d3f9ca0f46dd38811923eea21280.tar.gz
improve some recent conversions
Diffstat (limited to 'print-sctp.c')
-rw-r--r--print-sctp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/print-sctp.c b/print-sctp.c
index 351a02c7..b009e051 100644
--- a/print-sctp.c
+++ b/print-sctp.c
@@ -469,7 +469,6 @@ void sctp_print(netdissect_options *ndo,
ipaddr_string(&ip->ip_dst),
destPort));
}
- fflush(stdout);
if (isForCES_port(sourcePort)) {
ND_PRINT((ndo, "[%s]", tok2str(ForCES_channels, NULL, sourcePort)));
@@ -552,7 +551,6 @@ void sctp_print(netdissect_options *ndo,
ND_PRINT((ndo, "[SID: %u] ", EXTRACT_16BITS(&dataHdrPtr->streamId)));
ND_PRINT((ndo, "[SSEQ %u] ", EXTRACT_16BITS(&dataHdrPtr->sequence)));
ND_PRINT((ndo, "[PPID 0x%x] ", EXTRACT_32BITS(&dataHdrPtr->payloadtype)));
- fflush(stdout);
if (isforces) {
const u_char *payloadPtr;
u_int chunksize = sizeof(struct sctpDataPart)+