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 | |
parent | 98c7fc45c983b9e424e32bc2f426e395e1ec98bc (diff) |
changed README and enable behaviour to cmd instead of send
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lib/oxidized/model/tplink.rb | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -148,6 +148,8 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen * [Supermicro](lib/oxidized/model/supermicro.rb) * Trango Systems * [Trango](lib/oxidized/model/trango.rb) + * TPLink + * [TPLink](lib/oxidized/model/tplink.rb) * Ubiquiti * [AirOS](lib/oxidized/model/airos.rb) * [Edgeos](lib/oxidized/model/edgeos.rb) 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 |