From a5002bfdc2c34f8ababa67acb8e81bc91e7956c8 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Thu, 10 May 2018 09:41:51 +0200 Subject: relax asyncos prompt requirements --- lib/oxidized/model/asyncos.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/asyncos.rb b/lib/oxidized/model/asyncos.rb index 2857ef8..9e4d10e 100644 --- a/lib/oxidized/model/asyncos.rb +++ b/lib/oxidized/model/asyncos.rb @@ -1,6 +1,6 @@ class AsyncOS < Oxidized::Model - # ESA prompt "(mail.example.com)> " - prompt /^\r*([(][\w. ]+[)][#>]\s+)$/ + # ESA prompt "(mail.example.com)> " or "mail.example.com> " + prompt /^\r*([(]?[\w. ]+[)]?[#>]\s+)$/ comment '! ' # Select passphrase display option -- cgit v1.2.1