summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-isoclns.c4
-rw-r--r--print-sctp.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/print-isoclns.c b/print-isoclns.c
index bee97e5b..1b44ffc7 100644
--- a/print-isoclns.c
+++ b/print-isoclns.c
@@ -988,7 +988,7 @@ clnp_print(netdissect_options *ndo,
return (1);
trunc:
- fputs("[|clnp]", stdout);
+ ND_PRINT((ndo, "[|clnp]"));
return (1);
}
@@ -3069,7 +3069,7 @@ isis_print(netdissect_options *ndo,
return (1);
trunc:
- fputs("[|isis]", stdout);
+ ND_PRINT((ndo, "[|isis]"));
return (1);
trunctlv:
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)+