summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/aricentiss.rb
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-05-26 23:49:29 +0200
committerGitHub <noreply@github.com>2018-05-26 23:49:29 +0200
commit39dbb74c527c054007e26ad34c8921d4be6cb638 (patch)
treed55745153153450fb40e1f591eb861495a6068d9 /lib/oxidized/model/aricentiss.rb
parentdefdc69f92b3bcf62b1fd3b5ceac63a7a4e637ae (diff)
parent42bf10b7bce34ff577c469f6c2f659f3913cbf4a (diff)
Merge branch 'master' into FortiOS-Push
Diffstat (limited to 'lib/oxidized/model/aricentiss.rb')
-rw-r--r--lib/oxidized/model/aricentiss.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/oxidized/model/aricentiss.rb b/lib/oxidized/model/aricentiss.rb
index 8821801..77b78f4 100644
--- a/lib/oxidized/model/aricentiss.rb
+++ b/lib/oxidized/model/aricentiss.rb
@@ -4,8 +4,7 @@
# 0 SSE-G48-TG4 (P2-01) 1.0.16-9
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)
@@ -49,5 +48,4 @@ class AricentISS < Oxidized::Model
l
}.join.gsub(/ +$/, '')
end
-
end