nixpkgs/pkgs/tools/admin/oxidized/temporary-x-series.patch

14 lines
427 B
Diff
Raw Normal View History

2018-04-19 11:18:49 +01:00
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index f602a36..3f3a0f9 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -4,7 +4,7 @@ class PowerConnect < Oxidized::Model
comment '! '
- expect /^\s*--More--\s+.*$/ do |data, re|
+ expect /^([[:cntrl:]]...More:|\s*--More--\s+).*$/ do |data, re|
send ' '
data.sub re, ''
end