diff options
author | rivo nurges <rivo@surfar.ee> | 2015-04-22 09:01:31 +0000 |
---|---|---|
committer | rivo nurges <rivo@surfar.ee> | 2015-04-22 09:01:31 +0000 |
commit | e0b322546e38f223b81b43a95101ee54a54d4e22 (patch) | |
tree | d14e24221f4ea9daeeaa8bd7a999eeba11b1649b | |
parent | 56ac846fc96857ee7f71d3a8ee92390857a9a150 (diff) |
When clustered, colon appears in ScreenOS prompt
-rw-r--r-- | lib/oxidized/model/screenos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb index 907097a..c13e64a 100644 --- a/lib/oxidized/model/screenos.rb +++ b/lib/oxidized/model/screenos.rb @@ -4,7 +4,7 @@ class ScreenOS < Oxidized::Model comment '! ' - prompt /^[\w.\(\)-]+->\s?$/ + prompt /^[\w.:\(\)-]+->\s?$/ cmd :all do |cfg| cfg.each_line.to_a[2..-2].join |