netcrawl 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: e82d00b9bf01521dcf3897a8e66feef8c05b400c
4
- data.tar.gz: 7fdbd8e5e4cb955a3d810db5f6ff1e2003bc26ba
3
+ metadata.gz: 30abf7c1a361b2c52d77ac36533832c2e79e0b51
4
+ data.tar.gz: dee3be4a0509301907aee28fd13bdf21d6f72d02
5
5
  SHA512:
6
- metadata.gz: 757a4c4fe57016d23dabd95240f60e3db8984755bc1929ce61d4c380d6c0eeab8a12cca4c88666dd80222454ae82b98db5d46d3182ea8b805b68a8e59a016714
7
- data.tar.gz: dcb1611a9312750b97afcd0c483b14e643240d298eb0a6a8944c048d5a99574a7fb4fb2ec275a0d60218317ef7a78382830fd0b26f62d1c9a0aa1adf1b180636
6
+ metadata.gz: 6724f5b7b0386a4194ad1a642ebe4dd53e64eed63cb40a7963482e6914cb0cceea49d77f31d8ef1dcf95a46385086095b8432f4d6638feccd9c5eab33b17e825
7
+ data.tar.gz: 3adebdc60fe94aef26f6bc5de35d018394d48cef580ccfc395a7ef07371541e1b496ad9d9ce8a2a87b0824ca33286fa38e9b5e079a57f5835bbc8d48742d1efc
@@ -36,7 +36,7 @@ class NetCrawl
36
36
  peer.oid = get_oid_hash peer_id
37
37
  ip = @mib.by_partial OID[:lldpRemManAddrIfSubtype], peer_id
38
38
  peer.raw_ip = ip.oid[-4..-1].join('.') if ip # FIXME: IPv4 specific
39
- peer.raw_ip ||= 192.0.2.255 # sometimes we can't fnd any IP (EX2200 talking Arista found)
39
+ peer.raw_ip ||= '192.0.2.255' # sometimes we can't fnd any IP (EX2200 talking Arista found)
40
40
  peer.raw_name = @mib[OID[:lldpRemSysName], peer_id].value
41
41
  peer.ip = get_ip peer.raw_ip, peer.raw_name
42
42
  peer.dst = @mib[OID[:lldpRemPortId], peer_id].value
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'netcrawl'
3
- s.version = '0.0.4'
3
+ s.version = '0.0.5'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = [ 'Saku Ytti' ]
6
6
  s.email = %w( saku@ytti.fi )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netcrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti