summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/sros.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/sros.rb')
-rw-r--r--lib/oxidized/model/sros.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/sros.rb b/lib/oxidized/model/sros.rb
index d809147..aab7d0e 100644
--- a/lib/oxidized/model/sros.rb
+++ b/lib/oxidized/model/sros.rb
@@ -10,7 +10,7 @@ class SROS < Oxidized::Model
cmd :all do |cfg, cmdstring|
new_cfg = comment "COMMAND: #{cmdstring}\n"
- new_cfg << cfg.each_line.to_a[1..-2].join
+ new_cfg << cfg.cut_both
end
#