projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunneling: Allow matching and setting tunnel 'OAM' flag.
[cascardo/ovs.git]
/
ofproto
/
tunnel.c
diff --git
a/ofproto/tunnel.c
b/ofproto/tunnel.c
index
42f760e
..
91c13ab
100644
(file)
--- a/
ofproto/tunnel.c
+++ b/
ofproto/tunnel.c
@@
-459,7
+459,7
@@
tnl_port_send(const struct ofport_dpif *ofport, struct flow *flow,
}
}
- flow->tunnel.flags = (cfg->dont_fragment ? FLOW_TNL_F_DONT_FRAGMENT : 0)
+ flow->tunnel.flags
|
= (cfg->dont_fragment ? FLOW_TNL_F_DONT_FRAGMENT : 0)
| (cfg->csum ? FLOW_TNL_F_CSUM : 0)
| (cfg->out_key_present ? FLOW_TNL_F_KEY : 0);