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
datapath: Replace "struct odp_action" by Netlink attributes.
[sliver-openvswitch.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
88851f8
..
cdbbb0d
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-130,7
+130,7
@@
ofputil_cls_rule_from_match(const struct ofp_match *match,
rule->flow.tun_id = htonl(ntohll(cookie) >> 32);
} else {
wc->wildcards |= FWW_TUN_ID;
- rule->flow.tun_id =
0
;
+ rule->flow.tun_id =
htonl(0)
;
}
if (ofpfw & OFPFW_DL_DST) {