X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-rtsp.c diff --git a/print-rtsp.c b/print-rtsp.c index 368f0881..d607acd6 100644 --- a/print-rtsp.c +++ b/print-rtsp.c @@ -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); }