summaryrefslogtreecommitdiffstats
path: root/features/support/helpers/firewall_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/helpers/firewall_helper.rb')
-rw-r--r--features/support/helpers/firewall_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/helpers/firewall_helper.rb b/features/support/helpers/firewall_helper.rb
index 62d9856..b608f7d 100644
--- a/features/support/helpers/firewall_helper.rb
+++ b/features/support/helpers/firewall_helper.rb
@@ -56,11 +56,11 @@ def pcap_connections_helper(pcap_file, opts = {})
begin
packet_info[:saddr] = ip_packet.ip_saddr
packet_info[:daddr] = ip_packet.ip_daddr
- rescue NoMethodError
+ rescue NoMethodError, NameError
begin
packet_info[:saddr] = ip_packet.ipv6_saddr
packet_info[:daddr] = ip_packet.ipv6_daddr
- rescue NoMethodError
+ rescue NoMethodError, NameError
puts "We were hit by #11508. PacketFu bug? Packet info: #{ip_packet}"
packet_info[:saddr] = nil
packet_info[:daddr] = nil