ofproto: Factor out ofproto_rule_create().
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 May 2015 18:28:38 +0000 (11:28 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 2 Jun 2015 01:07:39 +0000 (18:07 -0700)
commitd66713776f50ee3a6f83d9b9bfc86a6477f7079d
tree3a6d696b34cbe35cf07a1d8018eabcdaa0cc4ba0
parentbc5e6a916a6f4a55cb85a222ae1c6685e216bdf7
ofproto: Factor out ofproto_rule_create().

Makes add_flow() easier to read and understand.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c