summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrivo nurges <rivo@surfar.ee>2015-04-22 09:01:31 +0000
committerrivo nurges <rivo@surfar.ee>2015-04-22 09:01:31 +0000
commite0b322546e38f223b81b43a95101ee54a54d4e22 (patch)
treed14e24221f4ea9daeeaa8bd7a999eeba11b1649b
parent56ac846fc96857ee7f71d3a8ee92390857a9a150 (diff)
When clustered, colon appears in ScreenOS prompt
-rw-r--r--lib/oxidized/model/screenos.rb2
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