mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-10 06:46:11 +02:00
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:
parent
9aa8e1556c
commit
7025a0fd6d
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user