sp-nat-monitor 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nat-monitor/version.rb +1 -1
- data/lib/nat-monitor.rb +2 -2
- 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: ac50da0d3d1fcaa7768fd4665b94a1f78a2413d0
|
4
|
+
data.tar.gz: b5f0d6b02769e0c8e2cbb5892d9e1a5ecbb4f928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbb616a1543159a38401900e7b0d06e29fd3a2b3ceac03e18fe69649f4c72e17c3cecb9363e06658dc28f6ffbc8e88b44b7fe2e191290861e7f6b43026dc8bd1
|
7
|
+
data.tar.gz: 922d04bf964cc4bbfa065802254d7e56acb2542d5a1142106af939879841d7c683780e853c99120479df78b7447557d7a8e3afe2975cf30c36bccf62f73666ba
|
data/lib/nat-monitor/version.rb
CHANGED
data/lib/nat-monitor.rb
CHANGED
@@ -58,7 +58,7 @@ module EtTools
|
|
58
58
|
return
|
59
59
|
end
|
60
60
|
un = unreachable_nodes
|
61
|
-
return if un.empty?
|
61
|
+
#return if un.empty?
|
62
62
|
if un.count == other_nodes.keys.count # return if I'm unreachable...
|
63
63
|
output "No nodes are reachable. Seems I'm the unreachable one."
|
64
64
|
return
|
@@ -75,7 +75,7 @@ module EtTools
|
|
75
75
|
def steal_route
|
76
76
|
output 'Stealing route 0.0.0.0/0 on route table ' \
|
77
77
|
"#{@conf['route_table_id']}"
|
78
|
-
return if @conf['mocking']
|
78
|
+
#return if @conf['mocking']
|
79
79
|
connection.replace_route(
|
80
80
|
@conf['route_table_id'],
|
81
81
|
'0.0.0.0/0',
|