capture/generate.rb in packet_via_dmem-0.0.11 vs capture/generate.rb in packet_via_dmem-0.0.12

- old
+ new

@@ -23,10 +23,10 @@ case packet.type when :received then received << packet.packet.join when :sent then sent << packet.packet.join else raise StandardError, "invalid type #{type}" end - headers << packet.header.to_s + headers << packet.header.to_s.split(/\n/).join('---') originals << packet.original.join end File.write('header-' + name + '.txt', headers.join("\n")) File.write('sent-' + name + '.txt', sent.join("\n")) File.write('received-' + name + '.txt', received.join("\n"))