2
0
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:
Jarno Rajahalme
2012-11-30 13:45:08 -08:00
committed by Ben Pfaff
parent 7a7b64289c
commit 1554987853
4 changed files with 12 additions and 6 deletions

View File

@@ -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 ## */
/* ## ---------------- ## */