From 3ae81a44098d0deefaf77b7ccc15564e70d8aec4 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 14 Mar 2015 16:45:32 +0100 Subject: Fix terminal length issues with older powerconnect switches as mentioned in #89. Fixed by sending both commands and allowing one of them to fail. --- lib/oxidized/model/powerconnect.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized') 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" -- cgit v1.2.1