ofproto: Simplify rule_insert().
authorBen Pfaff <blp@nicira.com>
Fri, 12 Nov 2010 22:49:46 +0000 (14:49 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Nov 2010 22:49:46 +0000 (14:49 -0800)
commitafe75089c831cce564a0db88be21c9fe1b012cd3
treeb3edc019fed6c8991280a2696b3ab4e9203d8900
parent7f7ae89d2477e14b11c1355668366030fc590c64
ofproto: Simplify rule_insert().

There's no reason for the 'packet' and 'in_port' arguments; the caller can
call rule_execute() just as easily as rule_insert() can.

Suggested-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto.c