From 32ef433ff00d1f9fede7ffa699f33c2515ac1a02 Mon Sep 17 00:00:00 2001 From: Nick Hilliard Date: Sun, 13 Sep 2015 21:13:00 +0100 Subject: ironware prompt matches normal config --- lib/oxidized/model/ironware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model') 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 -- cgit v1.2.1