Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/packet_data_generator/src/x3.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ryu/tests/packet_data_generator/src/x3.erl 
b/ryu/tests/packet_data_generator/src/x3.erl
index 4052327..6f608ac 100644
--- a/ryu/tests/packet_data_generator/src/x3.erl
+++ b/ryu/tests/packet_data_generator/src/x3.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>>,
-- 
1.8.3.1


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to