netfilter: nf_nat: add protoff argument to packet mangling functions
[deliverable/linux.git] / net / netfilter / ipvs / ip_vs_ftp.c
index ad70b7e4ac4a5cf44e91a806e40231cbd9af35fb..4f53a5f04437b4d75c9a12e672ff9beabf69c5c2 100644 (file)
@@ -268,6 +268,7 @@ static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp,
                         * packet.
                         */
                        ret = nf_nat_mangle_tcp_packet(skb, ct, ctinfo,
+                                                      iph->ihl * 4,
                                                       start-data, end-start,
                                                       buf, buf_len);
                        if (ret) {
This page took 0.031094 seconds and 5 git commands to generate.