projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Relax set header validation.
[cascardo/ovs.git]
/
lib
/
odp-util.c
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index
b46549d
..
1c2caf2
100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-1978,7
+1978,7
@@
static void
commit_set_port_action(const struct flow *flow, struct flow *base,
struct ofpbuf *odp_actions)
{
- if (!base->tp_src
||
!base->tp_dst) {
+ if (!base->tp_src
&&
!base->tp_dst) {
return;
}