summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorStefan Schlesinger <sts@ono.at>2014-10-23 18:11:31 +0200
committerStefan Schlesinger <sts@ono.at>2014-10-23 18:11:31 +0200
commit34c4559c845bd6ba239bbf1013fcebbd8041e6c3 (patch)
tree6700f79de9833c95e87acb4a8e03a7074474b689 /lib/oxidized/model
parente5ef7b86e94fb5eff8f1a1bf60bfdb3dccceab40 (diff)
model/asa: fixing prompt - hostname regex taken from ios model
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/asa.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb
index 3ee4e2d..b2c3e01 100644
--- a/lib/oxidized/model/asa.rb
+++ b/lib/oxidized/model/asa.rb
@@ -3,7 +3,7 @@ class ASA < Oxidized::Model
# Cisco ASA model #
# Only SSH supported for the sake of security
- prompt /^\r*([\w]+[#>]\s?)$/
+ prompt /^\r*([\w.@()-]+[#>]\s?)$/
comment '! '
cmd :all do |cfg|