summaryrefslogtreecommitdiff
path: root/print-m3ua.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-09-11 12:27:55 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-09-11 13:09:05 +0200
commit77a49fcb6ee80c8a107dd179e445c4eb9aab48e7 (patch)
tree923eeb78551c4a17bda5409ab0f9ce78e6b1fb73 /print-m3ua.c
parente2293be847464567fb59a532759e61c712893549 (diff)
downloadtcpdump-77a49fcb6ee80c8a107dd179e445c4eb9aab48e7.tar.gz
Add the nd_print_invalid() function
It prints " (invalid)", used for malformed or corrupted packets. Moreover: Update CONTRIBUTING.
Diffstat (limited to 'print-m3ua.c')
-rw-r--r--print-m3ua.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-m3ua.c b/print-m3ua.c
index 180b4213..7e2b0c8c 100644
--- a/print-m3ua.c
+++ b/print-m3ua.c
@@ -229,7 +229,7 @@ tag_value_print(netdissect_options *ndo,
return;
invalid:
- ND_PRINT("%s", istr);
+ nd_print_invalid(ndo);
ND_TCHECK_LEN(buf, size);
return;
trunc:
@@ -277,7 +277,7 @@ m3ua_tags_print(netdissect_options *ndo,
return;
invalid:
- ND_PRINT("%s", istr);
+ nd_print_invalid(ndo);
ND_TCHECK_LEN(buf, size);
return;
trunc:
@@ -333,7 +333,7 @@ m3ua_print(netdissect_options *ndo,
return;
invalid:
- ND_PRINT("%s", istr);
+ nd_print_invalid(ndo);
ND_TCHECK_LEN(buf, size);
return;
trunc: