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
packets: packet metadata from flow function instead of macro.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif.c
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index
8ce439d
..
744aa8c
100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-3876,7
+3876,7
@@
parse_flow_and_packet(int argc, const char *argv[],
if (!packet->size) {
flow_compose(packet, flow);
} else {
if (!packet->size) {
flow_compose(packet, flow);
} else {
- struct pkt_metadata md =
PKT_METADATA_INITIALIZER_FLOW
(flow);
+ struct pkt_metadata md =
pkt_metadata_from_flow
(flow);
/* Use the metadata from the flow and the packet argument
* to reconstruct the flow. */
/* Use the metadata from the flow and the packet argument
* to reconstruct the flow. */