ofproto: Avoid clearing NetFlow stats twice upon rule creation.
authorBen Pfaff <blp@nicira.com>
Fri, 29 Oct 2010 22:22:15 +0000 (15:22 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 11 Nov 2010 19:04:12 +0000 (11:04 -0800)
commitd6de72a12fad59941409ac3ff57f1660ac5a28bb
treebee21a58c6e9e257c3d1fc54deed50d8f64315a4
parent1eb0942d2262a9cfce6793f519ea32da959d93b6
ofproto: Avoid clearing NetFlow stats twice upon rule creation.

This seems cleaner to me: it seems risky to "clear" something that has not
been initialized yet.  It's also a super-minor optimization, I suppose.
ofproto/netflow.c
ofproto/netflow.h
ofproto/ofproto.c