Upgrade tcpdump to tcpdump-4.99.1
Test: make
Change-Id: I052ed8f5279c806e4d2ff925f581b71db3ac03c0
diff --git a/print-rtsp.c b/print-rtsp.c
index 54cc930..626a5ed 100644
--- a/print-rtsp.c
+++ b/print-rtsp.c
@@ -14,16 +14,12 @@
/* \summary: Real Time Streaming Protocol (RTSP) printer */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
-
-#include <stdio.h>
-#include <stdlib.h>
+#include "netdissect-stdinc.h"
#include "netdissect.h"
-#include "extract.h"
static const char *rtspcmds[] = {
"DESCRIBE",
@@ -43,5 +39,6 @@
void
rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
{
- txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
+ ndo->ndo_protocol = "rtsp";
+ txtproto_print(ndo, pptr, len, rtspcmds, RESP_CODE_SECOND_TOKEN);
}