summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/model/dnos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/dnos.rb b/lib/oxidized/model/dnos.rb
index a6cc05f..a44630e 100644
--- a/lib/oxidized/model/dnos.rb
+++ b/lib/oxidized/model/dnos.rb
@@ -36,7 +36,7 @@ class DNOS < Oxidized::Model
if vars :enable
post_login do
send "enable\n"
- send vars(:enable) + "\n"
+ cmd vars(:enable)
end
end
post_login 'terminal length 0'