diff options
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/ftp.c | 2 | ||||
-rw-r--r-- | src/helpers/tns.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/ftp.c b/src/helpers/ftp.c index c6ad7da..2772199 100644 --- a/src/helpers/ftp.c +++ b/src/helpers/ftp.c @@ -423,7 +423,7 @@ static unsigned int nf_nat_ftp(struct pkt_buff *pkt, if (!buflen) goto out; - if (!nfq_tcp_mangle(pkt, matchoff, matchlen, buffer, buflen)) + if (!nfq_tcp_mangle_ipv4(pkt, matchoff, matchlen, buffer, buflen)) goto out; return NF_ACCEPT; diff --git a/src/helpers/tns.c b/src/helpers/tns.c index 77f01d9..c4bfb91 100644 --- a/src/helpers/tns.c +++ b/src/helpers/tns.c @@ -242,7 +242,7 @@ nf_nat_tns(struct pkt_buff *pkt, struct tns_header *tns, struct nf_expect *exp, if (!buflen) goto out; - if (!nfq_tcp_mangle(pkt, matchoff, matchlen, buffer, buflen)) + if (!nfq_tcp_mangle_ipv4(pkt, matchoff, matchlen, buffer, buflen)) goto out; if (buflen != matchlen) { |