From: Florian Westphal <fw@strlen.de>
To: Sargun Dhillon <sargun@sargun.me>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: libnetfilter_conntrack: set_attr_dnat_ipv4
Date: Tue, 8 Dec 2015 23:37:57 +0100 [thread overview]
Message-ID: <20151208223757.GC31055@breakpoint.cc> (raw)
In-Reply-To: <CAMp4zn9xj41jv+BhQg0SPaY8VEoJa6SiHTQj470A7L1_Yr=NDQ@mail.gmail.com>
Sargun Dhillon <sargun@sargun.me> wrote:
> I'm curious, I'm looking at the libnetfilter_conntrack code, and I see
> the following function definition:
>
> static void
> set_attr_dnat_ipv4(struct nf_conntrack *ct, const void *value, size_t len)
> {
> ct->dnat.min_ip = ct->snat.max_ip = *((u_int32_t *) value);
> }
Sure looks like a copy & paste bug...
next prev parent reply other threads:[~2015-12-08 22:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 22:35 libnetfilter_conntrack: set_attr_dnat_ipv4 Sargun Dhillon
2015-12-08 22:37 ` Florian Westphal [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-16 17:19 Sargun Dhillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151208223757.GC31055@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=sargun@sargun.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.