diff options
author | root <oh@onsteroids.net> | 2017-02-16 14:43:12 +0100 |
---|---|---|
committer | root <oh@onsteroids.net> | 2017-02-16 14:43:12 +0100 |
commit | cb6e34bf14658bf08d0c1dd67bc5f4168c2c0727 (patch) | |
tree | 2d016dc776877cfa4078f96d521928e16d26cbe6 /lib | |
parent | 98c7fc45c983b9e424e32bc2f426e395e1ec98bc (diff) |
changed README and enable behaviour to cmd instead of send
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/tplink.rb | 2 |
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 |