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:04 +0000 (13:15 -0700)
commitaaf26218c736b61745a50202cadcd96cc64b39a3
tree689fd9dc9b1a4cb1504db08a5b64ba266283878d
parent570817ba0ffd79c3e61f6d88fc1a5812399f642b
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