summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/edgeswitch.rb
diff options
context:
space:
mode:
authorTony Murray <murraytony@gmail.com>2016-02-25 09:23:25 -0600
committerTony Murray <murraytony@gmail.com>2016-02-25 09:23:25 -0600
commitf70539c1a907fc4e416c8b60b359dc618690a80a (patch)
treea41d4a04d047217e997b59383c5117ecbc483fb7 /lib/oxidized/model/edgeswitch.rb
parent21f1bd6b7287e5106ade30c146049be5f66e1d47 (diff)
Edgeswitch: not properly closing the connecton
Quit fully logs out even when enabled. exit exit did not log out the second one failed.
Diffstat (limited to 'lib/oxidized/model/edgeswitch.rb')
-rw-r--r--lib/oxidized/model/edgeswitch.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index 0777b85..607df6c 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -18,8 +18,7 @@ class EdgeSwitch < Oxidized::Model
cfg :telnet, :ssh do
post_login 'enable'
post_login 'terminal length 0'
- pre_logout 'exit'
- pre_logout 'exit'
+ pre_logout 'quit'
end
end