ofproto: Send monitor updates if a flow mod changes a rules actions
authorSimon Horman <horms@verge.net.au>
Thu, 5 Jun 2014 09:54:47 +0000 (18:54 +0900)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Jun 2014 20:15:16 +0000 (13:15 -0700)
commit4fbb1fd32a72de93fce0d3da06b72ed5568d1b47
treed5eafaf8492922598854e9760b5913386151fff4
parentb701d8a4bd2920c349ccb40eded910f3516ad215
ofproto: Send monitor updates if a flow mod changes a rules actions

Without this change a monitor update will be sent when a flow mod changes
a rules cookie but not if only the actions are updated. This appears
to be a logic error.

I noticed this while working on implementing OpenFlow1.4 flow monitor
as an OpenFlow1.4 flow mod does not update a rules cookie.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
tests/ofproto.at