[NETFILTER]: nf_conntrack_sip: use strlen/strcmp
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:17:36 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:17:36 +0000 (20:17 -0700)
commit779382eb324ad0c39f8c4d10a47a813b490ab82c
tree8bf8bb8b4588baab54ffe8f07e06e1dfe21cf9e1
parent212440a7d04a12ee13787afecc6c86c7fc4e6184
[NETFILTER]: nf_conntrack_sip: use strlen/strcmp

Replace sizeof/memcmp by strlen/strcmp. Use case-insensitive comparison
for SIP methods and the SIP/2.0 string, as specified in RFC 3261.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_sip.c
net/netfilter/nf_conntrack_sip.c