diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-01 20:02:42 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-02 03:33:02 +0200 |
commit | 0cced4fcdcad0c011cb123371d557067da7c6bbe (patch) | |
tree | 605d016458dbe0b1560981476ae0e56021e643cd /print-ldp.c | |
parent | 84faadecc0ee9441b738ff270fd5c7b0d270db8f (diff) | |
download | tcpdump-0cced4fcdcad0c011cb123371d557067da7c6bbe.tar.gz |
Remove the safeputchar() function
Print the characters filtering out non-printable with fn_print_char().
Update the output of some tests accordingly.
Diffstat (limited to 'print-ldp.c')
-rw-r--r-- | print-ldp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ldp.c b/print-ldp.c index 9890e44f..1bb0d6f9 100644 --- a/print-ldp.c +++ b/print-ldp.c @@ -443,7 +443,7 @@ ldp_tlv_print(netdissect_options *ndo, case LDP_FEC_MARTINI_IFPARM_DESC: ND_PRINT(": "); for (idx = 2; idx < vc_info_tlv_len; idx++) - safeputchar(ndo, EXTRACT_U_1(tptr + idx)); + fn_print_char(ndo, EXTRACT_U_1(tptr + idx)); break; case LDP_FEC_MARTINI_IFPARM_VCCV: |