summaryrefslogtreecommitdiff
path: root/src/helpers/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/ftp.c')
-rw-r--r--src/helpers/ftp.c2
1 files changed, 1 insertions, 1 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;