[NETFILTER]: nf_conntrack_sip: add missing message types containing RTP info
authorJerome Borsboom <j.borsboom@erasmusmc.nl>
Fri, 22 Jun 2007 21:08:17 +0000 (14:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jun 2007 21:08:17 +0000 (14:08 -0700)
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>
net/netfilter/nf_conntrack_sip.c

index 7aaa8c91b2938f4ac2872ed2002ccf97d2806390..1b5c6c1055f75edb03e1b5c42d1777e5ac311b81 100644 (file)
@@ -442,6 +442,9 @@ static int sip_help(struct sk_buff **pskb,
 
        /* RTP info only in some SDP pkts */
        if (memcmp(dptr, "INVITE", sizeof("INVITE") - 1) != 0 &&
+           memcmp(dptr, "UPDATE", sizeof("UPDATE") - 1) != 0 &&
+           memcmp(dptr, "SIP/2.0 180", sizeof("SIP/2.0 180") - 1) != 0 &&
+           memcmp(dptr, "SIP/2.0 183", sizeof("SIP/2.0 183") - 1) != 0 &&
            memcmp(dptr, "SIP/2.0 200", sizeof("SIP/2.0 200") - 1) != 0) {
                goto out;
        }