netfilter: ctnetlink: fix timestamp support for new conntracks
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 21 Apr 2011 08:55:07 +0000 (10:55 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 21 Apr 2011 08:55:07 +0000 (10:55 +0200)
commit358b1361bed42f4e6cbf8956a73aebf193957d4a
tree7c83e613d5c18ae052c949aafc79e35cbe650cd0
parenta8a8a0937e22a5fd55aeb22586724ba6bb70aadd
netfilter: ctnetlink: fix timestamp support for new conntracks

This patch fixes the missing initialization of the start time if
the timestamp support is enabled.

libnetfilter_conntrack/utils# conntrack -E &
libnetfilter_conntrack/utils# ./conntrack_create
tcp      6 109 ESTABLISHED src=1.1.1.1 dst=2.2.2.2 sport=1025 dport=21 packets=0 bytes=0 [UNREPLIED] src=2.2.2.2 dst=1.1.1.1 sport=21 dport=1025 packets=0 bytes=0 mark=0 delta-time=1303296401 use=2

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_netlink.c