netflow: Correctly track flow creation time.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Apr 2014 17:11:49 +0000 (10:11 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Apr 2014 17:11:49 +0000 (10:11 -0700)
commitfab2ce03f40a38b021f2f26c4d08a8475ea15c3b
treec260722f30aa28a17d597e0ad31335751a4f1c7a
parent4db1dc032408ab86b5ce875c0556183480f53dc9
netflow: Correctly track flow creation time.

'created' is supposed to be the time the flow was created, but it was
getting reset to zero on every expiration, causing the flow start time to
be wonky after the first active expiration on a flow.

Reported-by: Lior Neudorfer <lior@guardicore.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
ofproto/netflow.c