From: Ken-ichirou MATSUZAWA <chamaken@gmail.com>
To: Florian Westphal <fw@strlen.de>
Cc: The netfilter developer mailinglist <netfilter-devel@vger.kernel.org>
Subject: [PATCH lnf-ct] conntrack: fix stop timestamp assignment
Date: Tue, 7 Jul 2015 13:29:04 +0900 [thread overview]
Message-ID: <20150707042904.GA7944@gmail.com> (raw)
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
---
src/conntrack/parse_mnl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conntrack/parse_mnl.c b/src/conntrack/parse_mnl.c
index 5da9933..2582cd7 100644
--- a/src/conntrack/parse_mnl.c
+++ b/src/conntrack/parse_mnl.c
@@ -766,7 +766,7 @@ nfct_parse_timestamp(const struct nlattr *attr, struct nf_conntrack *ct)
}
if (tb[CTA_TIMESTAMP_STOP]) {
ct->timestamp.stop =
- be64toh(mnl_attr_get_u64(tb[CTA_TIMESTAMP_START]));
+ be64toh(mnl_attr_get_u64(tb[CTA_TIMESTAMP_STOP]));
set_bit(ATTR_TIMESTAMP_STOP, ct->head.set);
}
--
2.1.4
next reply other threads:[~2015-07-07 4:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 4:29 Ken-ichirou MATSUZAWA [this message]
2015-07-07 9:50 ` [PATCH lnf-ct] conntrack: fix stop timestamp assignment Florian Westphal
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=20150707042904.GA7944@gmail.com \
--to=chamaken@gmail.com \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).