mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
Don't use error categories as if they were actually errors.
The OFPERR_* naming scheme is confusing, because it mixes categories with specific errors. Categories can't be encoded for sending to controllers, so this is a problem. This commit fixes up the cases where categories were used as errors, replacing them by real errors types. Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
7a7b64289c
commit
1554987853
@@ -161,6 +161,11 @@ enum ofperr {
|
||||
* the id of any existing monitor. */
|
||||
OFPERR_NXBRC_FM_BAD_ID,
|
||||
|
||||
/* NX1.0+(1,520). The 'event' in an NXST_FLOW_MONITOR reply does not
|
||||
* specify one of the NXFME_ABBREV, NXFME_ADD, NXFME_DELETE, or
|
||||
* NXFME_MODIFY. */
|
||||
OFPERR_NXBRC_FM_BAD_EVENT,
|
||||
|
||||
/* ## ---------------- ## */
|
||||
/* ## OFPET_BAD_ACTION ## */
|
||||
/* ## ---------------- ## */
|
||||
|
Reference in New Issue
Block a user