diff options
author | ytti <saku@ytti.fi> | 2016-07-08 11:24:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 11:24:07 +0300 |
commit | c87e45c620ad6707dbf6361c05baa528c41afbb4 (patch) | |
tree | 7bd7bd23c113603479480368b1101d2ba7a3e264 /lib/oxidized | |
parent | a78fb82df868f053b9e12b22e35c60b769838475 (diff) | |
parent | e2eb00ca52138053f3b076b34dd6bb75d23ed638 (diff) |
Merge pull request #490 from network-guy/patch-1
FortiOS Issue identifying prompt with truncated hostname
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/fortios.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index aad3a6e..cd379b7 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -2,7 +2,7 @@ class FortiOS < Oxidized::Model comment '# ' - prompt /^([-\w\.]+(\s[\(\w\-\.\)]+)?\~?\s?[#>$]\s?)$/ + prompt /^([-\w\.\~]+(\s[\(\w\-\.\)]+)?\~?\s?[#>$]\s?)$/ expect /^--More--\s$/ do |data, re| send ' ' |