summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-07 23:19:38 +0300
committerGitHub <noreply@github.com>2018-04-07 23:19:38 +0300
commit5c8916a364cf999a420ebbd5e022ec8cda78a980 (patch)
treebb4dca6915af50f95d76180c1ce1036edf485ee6 /lib/oxidized
parent52934c5985e9f8084d2c28ad19be4fec43ef2942 (diff)
parentf3c489be3d747af4608234fb55d93d8d3e037470 (diff)
Merge pull request #1258 from martinohansen/master
Allowed prompt to contain hyphen
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/aricentiss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aricentiss.rb b/lib/oxidized/model/aricentiss.rb
index 8821801..14f8502 100644
--- a/lib/oxidized/model/aricentiss.rb
+++ b/lib/oxidized/model/aricentiss.rb
@@ -5,7 +5,7 @@
class AricentISS < Oxidized::Model
- prompt (/^(\e\[27m)?[ \r]*\w+# ?$/)
+ prompt (/^(\e\[27m)?[ \r]*[\w-]+# ?$/)
cfg :ssh do
# "pagination" was misspelled in some (earlier) versions (at least 1.0.16-9)