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
ofproto: Add support for flow cookies (OpenFlow 1.0)
[sliver-openvswitch.git]
/
lib
/
vconn.c
diff --git
a/lib/vconn.c
b/lib/vconn.c
index
19a1978
..
de40744
100644
(file)
--- a/
lib/vconn.c
+++ b/
lib/vconn.c
@@
-886,6
+886,7
@@
make_flow_mod(uint16_t command, const flow_t *flow, size_t actions_len)
ofm->header.version = OFP_VERSION;
ofm->header.type = OFPT_FLOW_MOD;
ofm->header.length = htons(size);
+ ofm->cookie = 0;
ofm->match.wildcards = htonl(0);
ofm->match.in_port = htons(flow->in_port == ODPP_LOCAL ? OFPP_LOCAL
: flow->in_port);