diff options
Diffstat (limited to 'lib/oxidized/model/datacom.rb')
-rw-r--r-- | lib/oxidized/model/datacom.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/oxidized/model/datacom.rb b/lib/oxidized/model/datacom.rb index 5d5d220..b1c94da 100644 --- a/lib/oxidized/model/datacom.rb +++ b/lib/oxidized/model/datacom.rb @@ -7,8 +7,7 @@ class DataCom < Oxidized::Model end cmd :all do |cfg| - cfg.each_line.to_a[1..-2].join - cfg.cut_head.cut_tail + cfg.cut_head.cut_both.cut_tail end cmd 'show firmware' do |cfg| |