summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorroot <oh@onsteroids.net>2017-02-16 14:43:12 +0100
committerroot <oh@onsteroids.net>2017-02-16 14:43:12 +0100
commitcb6e34bf14658bf08d0c1dd67bc5f4168c2c0727 (patch)
tree2d016dc776877cfa4078f96d521928e16d26cbe6 /lib/oxidized/model
parent98c7fc45c983b9e424e32bc2f426e395e1ec98bc (diff)
changed README and enable behaviour to cmd instead of send
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/tplink.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/tplink.rb b/lib/oxidized/model/tplink.rb
index 9286ea4..bf13803 100644
--- a/lib/oxidized/model/tplink.rb
+++ b/lib/oxidized/model/tplink.rb
@@ -50,7 +50,7 @@ class TPLink < Oxidized::Model
if vars :enable
post_login do
send "enable\r"
- send vars(:enable) + "\r"
+ cmd vars(:enable)
end
end