summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/edgeswitch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index 31014da..0777b85 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -4,7 +4,7 @@ class EdgeSwitch < Oxidized::Model
comment '!'
- prompt /[(]\w*\s\w*[)][\s#>]*[\s#>]/
+ prompt /\(.*\)\s[#>]/
cmd 'show running-config' do |cfg|
cfg.each_line.reject { |line| line.match /System Up Time.*/ or line.match /Current SNTP Synchronized Time.*/ }.join