X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..a8abce5c5e2dce2ba6dbccd5d3829da104b80f9c:/print-smtp.c diff --git a/print-smtp.c b/print-smtp.c index 1b6ecbb5..a85ea8a9 100644 --- a/print-smtp.c +++ b/print-smtp.c @@ -14,7 +14,7 @@ /* \summary: Simple Mail Transfer Protocol (SMTP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "netdissect-stdinc.h" @@ -28,5 +28,6 @@ void smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) { + ndo->ndo_protocol = "smtp"; txtproto_print(ndo, pptr, len, "smtp", NULL, 0); }