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:12 +0000 (13:15 -0700)
commitbb45b0cb836b6f1c69f8005c43a3703d0d726d9e
treed0c0c8a2b1db6de3da4bda03c08232c17bf252cc
parentc8388d204867ae262b646a647f95e1c4e4a3e139
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