summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/firewareos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/firewareos.rb')
-rw-r--r--lib/oxidized/model/firewareos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/firewareos.rb b/lib/oxidized/model/firewareos.rb
index bd0008d..db40157 100644
--- a/lib/oxidized/model/firewareos.rb
+++ b/lib/oxidized/model/firewareos.rb
@@ -3,7 +3,7 @@ class FirewareOS < Oxidized::Model
comment '-- '
cmd :all do |cfg|
- cfg.each_line.to_a[1..-2].join
+ cfg.cut_both
end
# Handle Logon Disclaimer added in XTM 11.9.3