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:08:59 +0000 (13:08 -0700)
commitee088a75c65c5bc2a32887cde1c1ebc1c7fac232
treecd139d85e4587aaef7a6b7f2411de50d18b776e5
parent80eb2acf42bfa693494af76d58d79e136d7265ba
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