X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-smtp.c?ds=sidebyside diff --git a/print-smtp.c b/print-smtp.c index f1a2582b..d14d8f35 100644 --- a/print-smtp.c +++ b/print-smtp.c @@ -28,5 +28,6 @@ void smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) { - txtproto_print(ndo, pptr, len, "smtp", NULL, 0); + ndo->ndo_protocol = "smtp"; + txtproto_print(ndo, pptr, len, NULL, 0); }