summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/model/dcnos.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/model/dcnos.rb b/lib/oxidized/model/dcnos.rb
index c6b2e36..f53bc0d 100644
--- a/lib/oxidized/model/dcnos.rb
+++ b/lib/oxidized/model/dcnos.rb
@@ -21,7 +21,8 @@ class DCNOS < Oxidized::Model
end
cmd 'show running-config' do |cfg|
- cfg = cfg.each_line.to_a[1..-1]
+ cfg = cfg.each_line.to_a[1..-1].join
+ cfg
end
cfg :telnet do