From e0b322546e38f223b81b43a95101ee54a54d4e22 Mon Sep 17 00:00:00 2001 From: rivo nurges Date: Wed, 22 Apr 2015 09:01:31 +0000 Subject: When clustered, colon appears in ScreenOS prompt --- lib/oxidized/model/screenos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model') 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 -- cgit v1.2.1