diff options
author | ytti <saku@ytti.fi> | 2015-04-22 12:07:53 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-04-22 12:07:53 +0300 |
commit | 0e08c77a3a10385216ebd10dc5165529336be4ba (patch) | |
tree | d14e24221f4ea9daeeaa8bd7a999eeba11b1649b | |
parent | edc59e1ba1eeae6e75ae008d104a05ad37daa963 (diff) | |
parent | e0b322546e38f223b81b43a95101ee54a54d4e22 (diff) |
Merge pull request #111 from rixxxx/working-screenos0.6.0
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 |