In accordance with the upgrade of ofputil_packet_in structure
in OVS libraries, this patch fixes the usage of struct
ofputil_packet_in when initializing the flow metadata field.

FYI: The appropriate commit on OVS GitHub
https://github.com/openvswitch/ovs/commit/50dcbd8ed473210e6d2aa44f28843fb417416397

Signed-off-by: IWASE Yusuke <[email protected]>
---
 ryu/tests/packet_data_generator2/gen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/tests/packet_data_generator2/gen.c 
b/ryu/tests/packet_data_generator2/gen.c
index 11d4c49..9c46d4b 100644
--- a/ryu/tests/packet_data_generator2/gen.c
+++ b/ryu/tests/packet_data_generator2/gen.c
@@ -98,7 +98,7 @@ packet_in(enum ofputil_protocol proto)
     pin.buffer_id = 200;
 
     fill_match(&match);
-    flow_get_metadata(&match.flow, &pin.fmd);
+    flow_get_metadata(&match.flow, &pin.flow_metadata);
 
     return ofputil_encode_packet_in(&pin, proto, NXPIF_OPENFLOW10);
 }
-- 
1.9.1


------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to