]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rtsp.c
Revert partially the commit 21b1273
[tcpdump] / print-rtsp.c
index 368f0881a5f7ae8e582e9653dd96c88a0e88aedb..d607acd6bb3adca3d1ac1039df105fb247d5aff1 100644 (file)
@@ -43,5 +43,6 @@ static const char *rtspcmds[] = {
 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);
 }