secchan: Factor common code into new function rule_insert().
authorBen Pfaff <blp@nicira.com>
Tue, 28 Apr 2009 00:07:16 +0000 (17:07 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 May 2009 17:55:28 +0000 (10:55 -0700)
commitaec649d86f9f3e484190bef435be492946a85291
treed347747cf11edce9250c5a72337f744037a6fc73
parent27fbef21af982852659d33e25807bf092d73b970
secchan: Factor common code into new function rule_insert().

This is primarily a code cleanup.  It also fixes a corner case for
statistics that formerly was properly handled in add_flow() but not in
ofproto_add_flow().
secchan/ofproto.c