diff options
author | dhooper6430 <dhooper@gold.net.au> | 2018-02-21 17:25:49 +0800 |
---|---|---|
committer | Neil Lathwood <neil@lathwood.co.uk> | 2018-02-21 09:25:49 +0000 |
commit | a42d1bad82e37975d674b560b18bc153a2786669 (patch) | |
tree | 2257e3c37f419665c854c84ae6ba92bb85cb65a9 /lib | |
parent | cc78c8143cc167a14f1d45755a83242fae0af1b2 (diff) |
model: Update br6910 model prompt detection (#1188)
The BR6910 switch can be configured to display anything on the prompt, by default it's vty-, I have modified the prompt statement to allow for whatever the user has configured the prompt to be.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/br6910.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/br6910.rb b/lib/oxidized/model/br6910.rb index b5c9bcf..df93793 100644 --- a/lib/oxidized/model/br6910.rb +++ b/lib/oxidized/model/br6910.rb @@ -1,7 +1,7 @@ class BR6910 < Oxidized::Model
- prompt /^Vty-[0-9]\#$/
+ prompt /^([\w.@()-]+[#>]\s?)$/
comment '! '
# not possible to disable paging prior to show running-config
|