From 7025a0fd6db1151140666a5c148afc856bc38ecb Mon Sep 17 00:00:00 2001 From: Yusuke Iwase Date: Fri, 24 Jul 2015 13:17:09 +0900 Subject: [PATCH] packet_data_generator2: Adopt upgrade of ofputil_packet_in 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 Signed-off-by: FUJITA Tomonori --- 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 11d4c498..9c46d4b3 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); }