summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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