diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-04-02 18:55:24 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-04-02 18:55:50 +0400 |
commit | 779bcfb73addf223ee78104af297ab794c1d008e (patch) | |
tree | b878a3b855eb68e65854ffbd79dbaed16bbead31 /print-pppoe.c | |
parent | 525875a63ee715aed734cbdf6048424ff3ce4b02 (diff) | |
download | tcpdump-779bcfb73addf223ee78104af297ab794c1d008e.tar.gz |
convert some stray printf()'s
Diffstat (limited to 'print-pppoe.c')
-rw-r--r-- | print-pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-pppoe.c b/print-pppoe.c index a59e141c..d8edc496 100644 --- a/print-pppoe.c +++ b/print-pppoe.c @@ -97,7 +97,7 @@ pppoe_print(netdissect_options *ndo, register const u_char *bp, u_int length) const u_char *pppoe_packet, *pppoe_payload; if (length < PPPOE_HDRLEN) { - (void)printf("truncated-pppoe %u", length); + ND_PRINT((ndo, "truncated-pppoe %u", length)); return (length); } length -= PPPOE_HDRLEN; |