packetgen 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 072c0bb14448db25532a552f9b8a5c83b2363d7ccb3692d478f3224a8cc34807
4
- data.tar.gz: b2b857e9793aa1dabf0a89562958187087afabb10318cf947d9c2ce12696c39d
3
+ metadata.gz: 0d0ea9ae9a56d494ae6bde328655e61bdfc62c23ee413fe4d13d40e785e8dfb0
4
+ data.tar.gz: 2563927ccdc6961ed36d64f9e19ab52cf556cccd65bb66b391eb75510b50283f
5
5
  SHA512:
6
- metadata.gz: d5bb7c964881ae0f2df1845d82b449cf1a80c25432c740dc1e7ce6436b4323e03586d40760939d554daba0080a15d776cbe8b7fed04c07983a77aaad9c2e0e3d
7
- data.tar.gz: 9a2d0bd3355ec82bb40c0ed3a4377852314e74bb6f3479142810d637ca5f189279c7d8f3ae0bc59eea6ffc8f91d19264a2d0ced8d39c49cfc91a9d004d9bbe47
6
+ metadata.gz: 9c1057ab719194fef7f977b27770ea31489807bc05d20570c33746e12abdc9777e7f50c8311860152ec5c38cae30b6a6c5ef2865019e19aee8138a9c6e477db8
7
+ data.tar.gz: c705889994c6df09519de2b76fd5417d7cfc32b92cdf1c68d4d5efd3c3208f42c16bddbdc8256db7815ad87657d4dcf21226779281a42aa8935bb3f7a1d9aceb
@@ -52,7 +52,7 @@ module PacketGen
52
52
  clear
53
53
  return self if str.nil?
54
54
 
55
- force_binary str
55
+ PacketGen.force_binary str
56
56
  start = 0
57
57
  loop do
58
58
  index = str[start, 2].unpack('n').first
@@ -31,7 +31,7 @@ module PacketGen
31
31
  clear
32
32
  return self if str.nil?
33
33
 
34
- force_binary str
34
+ PacketGen.force_binary str
35
35
  while !str.empty? && (self.size < @counter.to_i)
36
36
  question = Question.new(@dns).read(str)
37
37
  str.slice!(0, question.sz)
@@ -26,7 +26,7 @@ module PacketGen
26
26
  clear
27
27
  return self if str.nil?
28
28
 
29
- force_binary str
29
+ PacketGen.force_binary str
30
30
  while !str.empty? && (self.size < @counter.to_i)
31
31
  rr = RR.new(@dns).read(str)
32
32
  rr = OPT.new(@dns).read(str) if rr.type?('OPT')
@@ -10,5 +10,5 @@
10
10
  # @author Sylvain Daubert
11
11
  module PacketGen
12
12
  # PacketGen version
13
- VERSION = '3.0.0'
13
+ VERSION = '3.0.1'
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packetgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Daubert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-26 00:00:00.000000000 Z
11
+ date: 2018-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: interfacez