X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/49b23c5a9b0198bb382dcf43c458d46fcf2fa809..c518a9aab149da1a6b83c0cbeddaff5265d05dcb:/print-ftp.c diff --git a/print-ftp.c b/print-ftp.c index a1dd6070..b55937bb 100644 --- a/print-ftp.c +++ b/print-ftp.c @@ -14,19 +14,16 @@ /* \summary: File Transfer Protocol (FTP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include - -#include -#include +#include "netdissect-stdinc.h" #include "netdissect.h" -#include "extract.h" void ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) { - txtproto_print(ndo, pptr, len, "ftp", NULL, 0); + ndo->ndo_protocol = "ftp"; + txtproto_print(ndo, pptr, len, NULL, 0); }