summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorNick Hilliard <nick@foobar.org>2015-09-13 21:13:00 +0100
committerNick Hilliard <nick@foobar.org>2015-09-13 21:13:00 +0100
commit32ef433ff00d1f9fede7ffa699f33c2515ac1a02 (patch)
treea88be7e79d8c88154993d407f61ee379957a78cf /lib/oxidized/model/ironware.rb
parent7736730a1366b61553f8f7245941f5c3b96bc5ae (diff)
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 4764d94..709e912 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