aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Borsboom <j.borsboom@erasmusmc.nl>2007-06-22 17:08:17 -0400
committerDavid S. Miller <davem@davemloft.net>2007-06-22 17:08:17 -0400
commitd258131aaea8a3979f82c0313b9a583130b29981 (patch)
tree0bf797b49c3d3313615d9b0ba811c1b7f14b9bc9
parent3f2c6d0f4f0dafdc99af0df71edba57e7815cb13 (diff)
[NETFILTER]: nf_conntrack_sip: add missing message types containing RTP info
Signed-off-by: Jerome Borsboom <j.borsboom@erasmusmc.nl> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/netfilter/nf_conntrack_sip.c3
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 }