summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-09-13 23:35:45 +0300
committerytti <saku@ytti.fi>2015-09-13 23:35:45 +0300
commit0b15669a32d80901a3bbff0cf0935e98086558eb (patch)
tree4d1a8a6e7694c6d648fe2827f65194f64454ffa9 /lib/oxidized/model/ironware.rb
parentc0a00892128562d1c78cce9d8cbc58b723ab4ba7 (diff)
parent31cf9ea626e6d5dcc5b7744e09d828e53c7b5c8a (diff)
Merge pull request #184 from nickhilliard/bf-ironware-prompt
ironware prompt matches normal config
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r--lib/oxidized/model/ironware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index ad795d5..1b86940 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -1,6 +1,6 @@
class IronWare < Oxidized::Model
- prompt /^.+[>#]\s?$/
+ prompt /^.*(telnet|ssh)\@.+[>#]\s?$/i
comment '! '
#to handle pager without enable