projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-actions: Fix error code for invalid table id.
[cascardo/ovs.git]
/
lib
/
ofp-actions.c
diff --git
a/lib/ofp-actions.c
b/lib/ofp-actions.c
index
cc1f9a0
..
ea47ff9
100644
(file)
--- a/
lib/ofp-actions.c
+++ b/
lib/ofp-actions.c
@@
-2125,7
+2125,7
@@
ofpact_check__(enum ofputil_protocol *usable_protocols, struct ofpact *a,
uint8_t goto_table = ofpact_get_GOTO_TABLE(a)->table_id;
if ((table_id != 255 && goto_table <= table_id)
|| (n_tables != 255 && goto_table >= n_tables)) {
- return OFPERR_OFPB
R
C_BAD_TABLE_ID;
+ return OFPERR_OFPB
I
C_BAD_TABLE_ID;
}
return 0;
}