Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/packet_data_generator/src/x3.erl | 10 +++++-----
 ryu/tests/packet_data_generator/src/x4.erl | 12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ryu/tests/packet_data_generator/src/x3.erl 
b/ryu/tests/packet_data_generator/src/x3.erl
index c45aba0..4106590 100644
--- a/ryu/tests/packet_data_generator/src/x3.erl
+++ b/ryu/tests/packet_data_generator/src/x3.erl
@@ -29,7 +29,7 @@ x() ->
         #ofp_packet_out{
             buffer_id = no_buffer,in_port = controller,
             actions = 
-                [#ofp_action_output{port = all,max_len = 65535}],
+                [#ofp_action_output{port = all,max_len = no_buffer}],
             data = 
                 <<242,11,164,208,63,112,242,11,164,125,248,234,8,0,69,0,
                   0,84,248,26,0,0,255,1,175,139,10,0,0,1,10,0,0,2,8,0,2,
@@ -57,7 +57,7 @@ x() ->
                          [#ofp_action_set_field{
                              field = #ofp_field{name = vlan_vid,
                                                 value = <<1,2>> }},
-                          #ofp_action_output{port = 6,max_len = 65535}]}]},
+                          #ofp_action_output{port = 6,max_len = no_buffer}]}]},
         #ofp_flow_mod{
             cookie = <<0,0,0,0,0,0,0,0>>,
             cookie_mask = <<0,0,0,0,0,0,0,0>>,
@@ -229,7 +229,7 @@ x() ->
                               actions =
                                   [#ofp_action_output{
                                        port = controller,
-                                       max_len = 65535}]}]}]},
+                                       max_len = no_buffer}]}]}]},
         #ofp_echo_request{
             data = <<"hoge">>
         },
@@ -261,7 +261,7 @@ x() ->
                 [#ofp_bucket{
                      weight = 1,watch_port = 1,watch_group = 1,
                      actions = 
-                         [#ofp_action_output{port = 2,max_len = 65535}]}]},
+                         [#ofp_action_output{port = 2,max_len = no_buffer}]}]},
         #ofp_port_mod{port_no = 1, hw_addr = <<0,17,0,0,17,17>>,
             config = [],mask = [], advertise = [fiber]},
         #ofp_table_mod{table_id = all,config = controller},
@@ -8477,7 +8477,7 @@ x() ->
                               weight = 1,watch_port = 1,watch_group = 1,
                               actions = 
                                   [#ofp_action_output{
-                                       port = 2, max_len = 65535}]}]}]},
+                                       port = 2, max_len = no_buffer}]}]}]},
         #ofp_queue_get_config_request{port = any},
         #ofp_queue_get_config_reply{port = any,queues = [
             #ofp_packet_queue{queue_id = 99, port_no = 77,
diff --git a/ryu/tests/packet_data_generator/src/x4.erl 
b/ryu/tests/packet_data_generator/src/x4.erl
index 7c0d212..55b0182 100644
--- a/ryu/tests/packet_data_generator/src/x4.erl
+++ b/ryu/tests/packet_data_generator/src/x4.erl
@@ -29,7 +29,7 @@ x() ->
         #ofp_packet_out{
             buffer_id = no_buffer,in_port = controller,
             actions = 
-                [#ofp_action_output{port = all,max_len = 65535}],
+                [#ofp_action_output{port = all,max_len = no_buffer}],
             data = 
                 <<242,11,164,208,63,112,242,11,164,125,248,234,8,0,69,0,
                   0,84,248,26,0,0,255,1,175,139,10,0,0,1,10,0,0,2,8,0,2,
@@ -57,7 +57,7 @@ x() ->
                          [#ofp_action_set_field{
                              field = #ofp_field{name = vlan_vid,
                                                 value = <<1,2>> }},
-                          #ofp_action_output{port = 6,max_len = 65535}]}]},
+                          #ofp_action_output{port = 6,max_len = no_buffer}]}]},
         #ofp_flow_mod{
             cookie = <<0,0,0,0,0,0,0,0>>,
             cookie_mask = <<0,0,0,0,0,0,0,0>>,
@@ -210,7 +210,7 @@ x() ->
                               actions =
                                   [#ofp_action_output{
                                        port = controller,
-                                       max_len = 65535}]}]}]},
+                                       max_len = no_buffer}]}]}]},
         #ofp_echo_request{
             data = <<"hoge">>
         },
@@ -242,7 +242,7 @@ x() ->
                 [#ofp_bucket{
                      weight = 1,watch_port = 1,watch_group = 1,
                      actions = 
-                         [#ofp_action_output{port = 2,max_len = 65535}]}]},
+                         [#ofp_action_output{port = 2,max_len = no_buffer}]}]},
         #ofp_port_mod{port_no = 1, hw_addr = <<0,17,0,0,17,17>>,
             config = [],mask = [], advertise = [fiber]},
         #ofp_table_mod{table_id = all},
@@ -304,7 +304,7 @@ x() ->
                               weight = 1,watch_port = 1,watch_group = 1,
                               actions = 
                                   [#ofp_action_output{
-                                       port = 2, max_len = 65535}]}]}]},
+                                       port = 2, max_len = no_buffer}]}]}]},
         #ofp_queue_get_config_request{port = any},
         #ofp_queue_get_config_reply{port = any,queues = [
             #ofp_packet_queue{queue_id = 99, port_no = 77,
@@ -418,7 +418,7 @@ x() ->
                 [#ofp_instruction_meter{meter_id = 1},
                  #ofp_instruction_write_actions{
                      actions =
-                         [#ofp_action_output{port = 6,max_len = 65535}]}]},
+                         [#ofp_action_output{port = 6,max_len = no_buffer}]}]},
 
         #ofp_meter_config_request{meter_id = all},
         #ofp_meter_config_reply{
-- 
1.8.3.1


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to