diff options
Diffstat (limited to 'print-syslog.c')
-rw-r--r-- | print-syslog.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/print-syslog.c b/print-syslog.c index 9d60f737..0c5005b3 100644 --- a/print-syslog.c +++ b/print-syslog.c @@ -25,7 +25,6 @@ #include "netdissect.h" #include "extract.h" -static const char tstr[] = "[|syslog]"; /* * tokenlists and #defines taken from Ethereal - Network traffic analyzer @@ -103,12 +102,12 @@ syslog_print(netdissect_options *ndo, ND_TCHECK_1(pptr + msg_off); } if (EXTRACT_U_1(pptr + msg_off) != '>') { - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); return; } msg_off++; } else { - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); return; } @@ -143,5 +142,5 @@ syslog_print(netdissect_options *ndo, return; trunc: - ND_PRINT("%s", tstr); + nd_print_trunc(ndo); } |