X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/99c91c3aec40b691641374f58e798bd8d6b657bd..a8abce5c5e2dce2ba6dbccd5d3829da104b80f9c:/print-ftp.c?ds=sidebyside diff --git a/print-ftp.c b/print-ftp.c index 93591395..f5646874 100644 --- a/print-ftp.c +++ b/print-ftp.c @@ -11,16 +11,13 @@ * FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header$"; -#endif +/* \summary: File Transfer Protocol (FTP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include +#include "netdissect-stdinc.h" #include #include @@ -31,5 +28,6 @@ static const char rcsid[] _U_ = void ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) { + ndo->ndo_protocol = "ftp"; txtproto_print(ndo, pptr, len, "ftp", NULL, 0); }