summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2019-06-11 13:48:35 +0200
committeranonym <anonym@riseup.net>2019-06-11 13:48:35 +0200
commit898fbbd6a5f8d10058c128d996bb6571c351fe90 (patch)
tree3d7da15a59ac0e1a5a01cadd43921b65de1057fd /features
parent86bd6d5db9284e6204192dae2f7cae1ddaf20df2 (diff)
Remove useless, commented code.
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/dhcp.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/features/step_definitions/dhcp.rb b/features/step_definitions/dhcp.rb
index a61fc54..1586c0d 100644
--- a/features/step_definitions/dhcp.rb
+++ b/features/step_definitions/dhcp.rb
@@ -3,8 +3,6 @@ Then /^the hostname should not have been leaked on the network$/ do
hostnames = ["amnesia", $vm.execute("hostname").stdout.chomp]
packets = PacketFu::PcapFile.new.file_to_array(filename: @sniffer.pcap_file)
packets.each do |p|
- # if PacketFu::TCPPacket.can_parse?(p)
- # ipv4_tcp_packets << PacketFu::TCPPacket.parse(p)
if PacketFu::IPPacket.can_parse?(p)
payload = PacketFu::IPPacket.parse(p).payload
elsif PacketFu::IPv6Packet.can_parse?(p)