summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/packet_data_generator/src/x4.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/ryu/tests/packet_data_generator/src/x4.erl b/ryu/tests/packet_data_generator/src/x4.erl
index 154bfec3..c87dcb1c 100644
--- a/ryu/tests/packet_data_generator/src/x4.erl
+++ b/ryu/tests/packet_data_generator/src/x4.erl
@@ -54,7 +54,10 @@ x() ->
instructions =
[#ofp_instruction_write_actions{
actions =
- [#ofp_action_output{port = 6,max_len = 65535}]}]},
+ [#ofp_action_set_field{
+ field = #ofp_field{name = vlan_vid,
+ value = <<1,2>> }},
+ #ofp_action_output{port = 6,max_len = 65535}]}]},
#ofp_flow_mod{
cookie = <<0,0,0,0,0,0,0,0>>,
cookie_mask = <<0,0,0,0,0,0,0,0>>,