]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ftp.c
Fix spaces
[tcpdump] / print-ftp.c
index 547904208a03792a42f6784cd15fc7f180c51c66..f56468740161b7bb51111807d1e31d046c060f71 100644 (file)
  * 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 <config.h>
 #endif
 
-#include <tcpdump-stdinc.h>
+#include "netdissect-stdinc.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -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);
 }