summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-07-08 11:24:07 +0300
committerGitHub <noreply@github.com>2016-07-08 11:24:07 +0300
commitc87e45c620ad6707dbf6361c05baa528c41afbb4 (patch)
tree7bd7bd23c113603479480368b1101d2ba7a3e264
parenta78fb82df868f053b9e12b22e35c60b769838475 (diff)
parente2eb00ca52138053f3b076b34dd6bb75d23ed638 (diff)
Merge pull request #490 from network-guy/patch-1
FortiOS Issue identifying prompt with truncated hostname
-rw-r--r--lib/oxidized/model/fortios.rb2
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 ' '