aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/config/macros.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb
index 241a2a4..b5dc3b8 100644
--- a/lib/leap_cli/config/macros.rb
+++ b/lib/leap_cli/config/macros.rb
@@ -138,7 +138,7 @@ module LeapCli; module Config
end
# Picks a random obfsproxy port from given range
- def obfs_port(name, range)
+ def rand_range(name, range)
@manager.secrets.set(name, rand(range), @node[:environment])
end