ofp-actions: simplify ofpacts_from_openflow1[01]
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 18 Jul 2012 11:41:15 +0000 (20:41 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 18 Jul 2012 16:07:27 +0000 (09:07 -0700)
commit0300caafc5b9fcc710b975cda9cc6d75e6364459
tree3528e0327d4a72da427ec0d5f2f99f0e114d24bd
parentf4ef95344b607537f95d865fa4526688557802b4
ofp-actions: simplify ofpacts_from_openflow1[01]

Those logic is same, so simplify it. This will be also use for OF12.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-actions.c