summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/procurve.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-05-18 23:08:54 +0300
committerytti <saku@ytti.fi>2016-05-18 23:08:54 +0300
commite95cd26ee592f2812a12aa170487db1ec427cfb1 (patch)
treebb4b3ddcfbf26f71558c53d3d11bf5912e3bde32 /lib/oxidized/model/procurve.rb
parent6c38bdbed01d9ae9f54571daddda958985e3a9d8 (diff)
parent3eecb15399334dfcb519680fc39e666c3b4f1ada (diff)
Merge pull request #422 from funzoneq/patch-1
Dot's in hostnames are frowned upon, but allowed
Diffstat (limited to 'lib/oxidized/model/procurve.rb')
-rw-r--r--lib/oxidized/model/procurve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb
index e667f48..392f510 100644
--- a/lib/oxidized/model/procurve.rb
+++ b/lib/oxidized/model/procurve.rb
@@ -2,7 +2,7 @@ class Procurve < Oxidized::Model
# some models start lines with \r
# previous command is repeated followed by "\eE", which sometimes ends up on last line
- prompt /^\r?([\w -]+\eE)?([\w-]+# )$/
+ prompt /^\r?([\w -]+\eE)?([\w.-]+# )$/
comment '! '