lib/pio/open_flow10/flow_stats/reply.rb in pio-0.30.0 vs lib/pio/open_flow10/flow_stats/reply.rb in pio-0.30.1

- old
+ new

@@ -25,15 +25,14 @@ string :padding2, length: 6 hide :padding2 uint64 :cookie uint64 :packet_count uint64 :byte_count - actions :actions, length: -> { entry_length - 88 } + actions10 :actions, length: -> { entry_length - 88 } end - open_flow_header version: 1, - message_type: 17, - message_length: -> { 12 + stats.to_binary_s.length } + open_flow_header version: 1, type: 17, + length: -> { 12 + stats.to_binary_s.length } stats_type :stats_type, value: -> { :flow } uint16 :flags array :stats, type: :flow_stats_entry, read_until: :eof end