kanrisuru 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kanrisuru/core/ip.rb +7 -7
- data/lib/kanrisuru/version.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: 7b38168a12bbe9f222661c948e56d52f7134a5d10b7521dbc1790a99e1669990
|
4
|
+
data.tar.gz: ff7797549ea1d37f606027899e5543366452a107411289a9d694a4ed668e7a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33eacadf1ee4cef2b02cc8f0cfe5083e180b8aac38cb5e82c48694ba1342c1dd2e5ee1c9751e0fa2a94f128127000d3c5a2c353332e11fbd06d01ce9e6be7226
|
7
|
+
data.tar.gz: 298f589e7ce02141d6bfc263aeb29ec5b407896ce4d4687a7935508829d89876a35d6b5394957e17374ac250ec78dbea35b177808536b85871e7b30992ae9be1
|
data/lib/kanrisuru/core/ip.rb
CHANGED
@@ -211,7 +211,7 @@ module Kanrisuru
|
|
211
211
|
|
212
212
|
command.append_arg('dev', opts[:dev])
|
213
213
|
command.append_arg('scope', opts[:scope])
|
214
|
-
|
214
|
+
command.append_arg('to', opts[:prefix])
|
215
215
|
command.append_arg('label', opts[:label])
|
216
216
|
|
217
217
|
command.append_flag('dynamic', opts[:dynamic])
|
@@ -415,14 +415,14 @@ module Kanrisuru
|
|
415
415
|
|
416
416
|
command.append_arg('type', opts[:type])
|
417
417
|
command.append_arg('from', opts[:from])
|
418
|
-
|
418
|
+
command.append_arg('to', opts[:to])
|
419
419
|
command.append_arg('iif', opts[:iif])
|
420
|
-
|
420
|
+
command.append_arg('tos', opts[:tos])
|
421
421
|
command.append_arg('dsfield', opts[:dsfield])
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
422
|
+
command.append_arg('fwmark', opts[:fwmark])
|
423
|
+
command.append_arg('priority', opts[:priority])
|
424
|
+
command.append_arg('table', opts[:table])
|
425
|
+
command.append_arg('realms', opts[:realms])
|
426
426
|
command.append_arg('nat', opts[:nat])
|
427
427
|
end
|
428
428
|
|
data/lib/kanrisuru/version.rb
CHANGED