diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_sip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c index 7aaa8c91b293..1b5c6c1055f7 100644 --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c | |||
@@ -442,6 +442,9 @@ static int sip_help(struct sk_buff **pskb, | |||
442 | 442 | ||
443 | /* RTP info only in some SDP pkts */ | 443 | /* RTP info only in some SDP pkts */ |
444 | if (memcmp(dptr, "INVITE", sizeof("INVITE") - 1) != 0 && | 444 | if (memcmp(dptr, "INVITE", sizeof("INVITE") - 1) != 0 && |
445 | memcmp(dptr, "UPDATE", sizeof("UPDATE") - 1) != 0 && | ||
446 | memcmp(dptr, "SIP/2.0 180", sizeof("SIP/2.0 180") - 1) != 0 && | ||
447 | memcmp(dptr, "SIP/2.0 183", sizeof("SIP/2.0 183") - 1) != 0 && | ||
445 | memcmp(dptr, "SIP/2.0 200", sizeof("SIP/2.0 200") - 1) != 0) { | 448 | memcmp(dptr, "SIP/2.0 200", sizeof("SIP/2.0 200") - 1) != 0) { |
446 | goto out; | 449 | goto out; |
447 | } | 450 | } |