]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-smtp.c
Fixed some warnings, added print-zep.c to CMakeLists
[tcpdump] / print-smtp.c
index f1a2582b2068014e01db3cbe3b8d732fcbb5a519..a85ea8a9fc4c606ed1a47b8f503cd5f856139212 100644 (file)
@@ -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);
 }