forked from osmocom/wireshark
RTSP: Fix segault of cli tap with no filter set
This commit is contained in:
parent
c648a40751
commit
51134bca8d
|
@ -202,7 +202,7 @@ rtspstat_draw(void *psp )
|
|||
rtspstat_t *sp = (rtspstat_t *)psp;
|
||||
printf("\n");
|
||||
printf("===================================================================\n");
|
||||
if (! sp->filter[0])
|
||||
if (!sp->filter || !sp->filter[0])
|
||||
printf("RTSP Statistics\n");
|
||||
else
|
||||
printf("RTSP Statistics with filter %s\n", sp->filter);
|
||||
|
|
Loading…
Reference in New Issue