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
50dcbd8ed4

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yusuke Iwase 2015-07-24 13:17:09 +09:00 committed by FUJITA Tomonori
parent 9aa8e1556c
commit 7025a0fd6d

View File

@ -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);
}