network-utility 1.1.36 → 1.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/document/static-NE5000E-20.md +2 -1
- data/document/static-NE5000E-X16.md +2 -1
- data/document/static-NE5000E-X16A.md +2 -1
- data/document/static-NE8000E-X8.md +2 -1
- data/document/static-NE8100-X8.md +2 -1
- data/network.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5afbdff8fac23bb46f333b5586dc89054a53074634dcc4fc23c730f9709ac835
|
|
4
|
+
data.tar.gz: ae014b2a0c026c19214a3c4e0c73ed2bacd5d13203bd67674b3405a2722769bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75e7afcfc1ae1596b5a014e69f22cfadffb5603b1b244d9111d210e0c91d47244a3cd6b5821ea8c8dbd70225c934c186b73f3c6d7dc9806fbe27e3f87465ff69
|
|
7
|
+
data.tar.gz: 423ad152c8e1fc623b143930fd0181b1eb432f7c1cb2664742f609da2543dcf783f28de399974f98b1dc734bb2ddea2bfdfb40bd74c9baae1e32a47fc4a031b8
|
|
@@ -13,8 +13,9 @@ module NE5000E_20
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static')
|
|
16
17
|
items = line.split(" ")
|
|
17
|
-
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
|
|
18
|
+
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
19
20
|
end
|
|
20
21
|
end
|
|
@@ -13,8 +13,9 @@ module NE5000E_X16
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static')
|
|
16
17
|
items = line.split(" ")
|
|
17
|
-
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
|
|
18
|
+
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
19
20
|
end
|
|
20
21
|
end
|
|
@@ -13,8 +13,9 @@ module NE5000E_X16A
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static')
|
|
16
17
|
items = line.split(" ")
|
|
17
|
-
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
|
|
18
|
+
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
19
20
|
end
|
|
20
21
|
end
|
|
@@ -13,8 +13,9 @@ module NE8000E_X8
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static')
|
|
16
17
|
items = line.split(" ")
|
|
17
|
-
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
|
|
18
|
+
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
19
20
|
end
|
|
20
21
|
end
|
|
@@ -13,8 +13,9 @@ module NE8100_X8
|
|
|
13
13
|
(配置散列[tag] || []).each do|part|
|
|
14
14
|
if part.include?('route-static')
|
|
15
15
|
part.split("\n").each do|line|
|
|
16
|
+
next unless line.include?('route-static')
|
|
16
17
|
items = line.split(" ")
|
|
17
|
-
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1] : ["static"]+items[2..-1]
|
|
18
|
+
record = items[2].include?('vpn-') ? ["static:#{items[3]}"]+items[4..-1].to_a : ["static"]+items[2..-1].to_a
|
|
18
19
|
static_routes << record
|
|
19
20
|
end
|
|
20
21
|
end
|
data/network.rb
CHANGED