summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorNick Hilliard <nick@foobar.org>2015-10-11 23:46:56 +0100
committerNick Hilliard <nick@foobar.org>2015-10-11 23:46:56 +0100
commit4311ac0841a82997707ae469d6a46363ddb06ca1 (patch)
tree076df03263dbcb4b08a89bc55fe3b8f5920078e2 /lib/oxidized/model
parent348dd2e978159f35d374a8a3bcb96c14cf77aaae (diff)
remove () from nul byte check in comware prompt
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/comware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/comware.rb b/lib/oxidized/model/comware.rb
index dcab14e..9b36e8b 100644
--- a/lib/oxidized/model/comware.rb
+++ b/lib/oxidized/model/comware.rb
@@ -2,7 +2,7 @@ class Comware < Oxidized::Model
# HP (A-series)/H3C/3Com Comware
# sometimes the prompt might have a leading nul
- prompt /^(\0)*(<[\w.-]+>)$/
+ prompt /^\0*(<[\w.-]+>)$/
comment '# '
# example how to handle pager