netflow: Correctly track flow creation time.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Apr 2014 17:18:42 +0000 (10:18 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Apr 2014 17:18:42 +0000 (10:18 -0700)
commit338fa76dbb7d6c0742dc5043cc4245979ea22e62
treeb0c9ae81bbaf25f4a6cb8129158c8a30bc9d9273
parentb745f28e9607ff885da01bb9728cee8196cda969
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