summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <eric@emj.se>2015-03-14 16:45:32 +0100
committerEric <eric@emj.se>2015-03-14 16:45:32 +0100
commit3ae81a44098d0deefaf77b7ccc15564e70d8aec4 (patch)
tree475559f412dc66922013926ab55226907618404f
parentfb0e4e191af9bd686a64d055700e1d0ef7c39c8b (diff)
Fix terminal length issues with older powerconnect switches as mentioned in #89. Fixed by sending both commands and allowing one of them to fail.
-rw-r--r--lib/oxidized/model/powerconnect.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index a1fe229..ef27f98 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -39,6 +39,7 @@ class PowerConnect < Oxidized::Model
end
end
+ post_login "terminal datadump"
post_login "terminal length 0"
pre_logout "logout"