/* \summary: Simple Mail Transfer Protocol (SMTP) printer */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
+#include "netdissect-stdinc.h"
#include <stdio.h>
#include <stdlib.h>
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);
}