]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-smtp.c
CHANGES: Add/move change(s) backported to 4.99
[tcpdump] / print-smtp.c
index a85ea8a9fc4c606ed1a47b8f503cd5f856139212..fba7f2371ba5e33422c3162f025bbbe3b5c8b23e 100644 (file)
 
 /* \summary: Simple Mail Transfer Protocol (SMTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "netdissect.h"
-#include "extract.h"
 
 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);
+       txtproto_print(ndo, pptr, len, NULL, 0);
 }