Skip to content
Commit 0d35d081 authored by Christophe Leroy's avatar Christophe Leroy Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq



Do not drop packet when CSeq is 0 as 0 is also a valid value for CSeq.

simple_strtoul() will return 0 either when all digits are 0
or if there are no digits at all. Therefore when simple_strtoul()
returns 0 we check if first character is digit 0 or not.

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent c1eda3c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment