]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rtsp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-rtsp.c
index 368f0881a5f7ae8e582e9653dd96c88a0e88aedb..8c04e11acb064758e56b1c24a1a8ab665142952f 100644 (file)
@@ -43,5 +43,6 @@ static const char *rtspcmds[] = {
 void
 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
 {
+       ndo->ndo_protocol = "rtsp";
        txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
 }