dap 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dap/filter/udp.rb +2 -2
- data/lib/dap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e63c529a5f21b91618aad9b36cf006e0c06840a
|
4
|
+
data.tar.gz: 8e617aaa1e936f7202eb6868e2a208f68063190a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1bdc26b13fc074c613b44bce2e6bb39e92dde66a2a56e59d7a177a93540754151187048bcc646dd4051e24e80169a8116a12a2d53e7c9cd73a60d2c87debaa3
|
7
|
+
data.tar.gz: 39fe747078c41e8ea1b0d3458e27187e83d4a30e8d8b1b6b2bd78bf4e407616a4224126d0da280e07c304be692a03048c1d99a60e41c99ac52edf7986143a246
|
data/lib/dap/filter/udp.rb
CHANGED
@@ -48,7 +48,7 @@ class FilterDecodeDNSVersionReply
|
|
48
48
|
def decode(data)
|
49
49
|
begin
|
50
50
|
r = Net::DNS::Packet.parse(data)
|
51
|
-
rescue
|
51
|
+
rescue ::Exception
|
52
52
|
r = nil
|
53
53
|
end
|
54
54
|
|
@@ -58,7 +58,7 @@ class FilterDecodeDNSVersionReply
|
|
58
58
|
# and try again..
|
59
59
|
trimmed_data = data[2..-1]
|
60
60
|
r = Net::DNS::Packet.parse(trimmed_data)
|
61
|
-
rescue
|
61
|
+
rescue ::Exception
|
62
62
|
return {}
|
63
63
|
end
|
64
64
|
end
|
data/lib/dap/version.rb
CHANGED