]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ftp.c
travis: try removing the matrix: clause and putting back the Coverity stuff.
[tcpdump] / print-ftp.c
index a1dd60709a20b6e96784239fafea5b8ba66ac2c0..98335ed5bb309276bb4b67de432deb9d11205a4d 100644 (file)
 /* \summary: File Transfer Protocol (FTP) 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>
@@ -28,5 +28,6 @@
 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);
 }