diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-11 12:27:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-11 13:09:05 +0200 |
commit | 77a49fcb6ee80c8a107dd179e445c4eb9aab48e7 (patch) | |
tree | 923eeb78551c4a17bda5409ab0f9ce78e6b1fb73 /print-openflow.c | |
parent | e2293be847464567fb59a532759e61c712893549 (diff) | |
download | tcpdump-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-openflow.c')
-rw-r--r-- | print-openflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-openflow.c b/print-openflow.c index f3c1a832..8a912063 100644 --- a/print-openflow.c +++ b/print-openflow.c @@ -120,7 +120,7 @@ of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep } invalid: /* fail current packet */ - ND_PRINT("%s", istr); + nd_print_invalid(ndo); ND_TCHECK_LEN(cp, ep - cp); return ep; trunc: |