|
@@ -1383,7 +1383,7 @@ static int process_sip_response(struct sk_buff *skb, unsigned int protoff,
|
|
|
return NF_DROP;
|
|
|
}
|
|
|
cseq = simple_strtoul(*dptr + matchoff, NULL, 10);
|
|
|
- if (!cseq) {
|
|
|
+ if (!cseq && *(*dptr + matchoff) != '0') {
|
|
|
nf_ct_helper_log(skb, ct, "cannot get cseq");
|
|
|
return NF_DROP;
|
|
|
}
|
|
@@ -1446,7 +1446,7 @@ static int process_sip_request(struct sk_buff *skb, unsigned int protoff,
|
|
|
return NF_DROP;
|
|
|
}
|
|
|
cseq = simple_strtoul(*dptr + matchoff, NULL, 10);
|
|
|
- if (!cseq) {
|
|
|
+ if (!cseq && *(*dptr + matchoff) != '0') {
|
|
|
nf_ct_helper_log(skb, ct, "cannot get cseq");
|
|
|
return NF_DROP;
|
|
|
}
|