git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-util: Fix validation of OFPAT_SET_VLAN_PCP actions.
[sliver-openvswitch.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
5c95270
..
d39b0bc
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-2053,7
+2053,7
@@
check_action(const union ofp_action *a, unsigned int len,
if (error) {
return error;
}
- if (a->vlan_
vid.vlan_vid
& ~7) {
+ if (a->vlan_
pcp.vlan_pcp
& ~7) {
return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_ARGUMENT);
}
return 0;