summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorpv2b <pvz@pvz.pp.se>2017-11-15 23:02:27 +0100
committerNeil Lathwood <neil@lathwood.co.uk>2017-11-15 22:02:27 +0000
commit40cfa7b7cfba0d0a655fe2148ad9336414e89737 (patch)
treef1e004ccf3d628c0e9d1934cab5c80f3237aa64f /lib/oxidized
parent4203e00cbde157e767e8be39ffdcecb30db14e6b (diff)
fix: Netgear model: Permit . as valid character in prompt (#1099)
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/netgear.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/netgear.rb b/lib/oxidized/model/netgear.rb
index 38aaca7..0ab1349 100644
--- a/lib/oxidized/model/netgear.rb
+++ b/lib/oxidized/model/netgear.rb
@@ -1,7 +1,7 @@
class Netgear < Oxidized::Model
comment '!'
- prompt /^(\([\w-]+\)\s[#>])$/
+ prompt /^(\([\w\-.]+\)\s[#>])$/
cmd :secret do |cfg|
cfg.gsub!(/password (\S+)/, 'password <hidden>')