projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: Make bridge_pick_local_hw_addr() easier to reason.
[openvswitch]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index b0e74055dcdbc4f2e8b5f1b43d3afd0b59678bff..a4b1f5fc61dcb8c3e761f13c28bd795eb14df23c 100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-1883,7
+1883,7
@@
make_packet_out(const struct ofpbuf *packet, uint32_t buffer_id,
opo->header.length = htons(size);
opo->header.xid = htonl(0);
opo->buffer_id = htonl(buffer_id);
opo->header.length = htons(size);
opo->header.xid = htonl(0);
opo->buffer_id = htonl(buffer_id);
- opo->in_port = htons(in_port == O
DP
P_LOCAL ? OFPP_LOCAL : in_port);
+ opo->in_port = htons(in_port == O
VS
P_LOCAL ? OFPP_LOCAL : in_port);
opo->actions_len = htons(actions_len);
ofpbuf_put(out, actions, actions_len);
if (packet) {
opo->actions_len = htons(actions_len);
ofpbuf_put(out, actions, actions_len);
if (packet) {