File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,11 @@ static void ndpi_rtp_search(struct ndpi_detection_module_struct *ndpi_struct,
186
186
187
187
if (is_rtp == IS_RTP ) {
188
188
if (flow -> rtp_stage == 2 ) {
189
- if (flow -> l4 .udp .line_pkts [0 ] >= 2 && flow -> l4 .udp .line_pkts [1 ] >= 2 ) {
189
+ if (flow -> l4_proto == IPPROTO_UDP &&
190
+ flow -> l4 .udp .line_pkts [0 ] >= 2 && flow -> l4 .udp .line_pkts [1 ] >= 2 ) {
190
191
/* It seems that it is a LINE stuff; let its dissector to evaluate */
191
- } else if (flow -> l4 .udp .epicgames_stage > 0 ) {
192
+ } else if (flow -> l4_proto == IPPROTO_UDP &&
193
+ flow -> l4 .udp .epicgames_stage > 0 ) {
192
194
/* It seems that it is a EpicGames stuff; let its dissector to evaluate */
193
195
} else if (flow -> rtp_seq_set [packet -> packet_direction ] &&
194
196
flow -> rtp_seq [packet -> packet_direction ] == seq ) {
You can’t perform that action at this time.
0 commit comments