diff options
author | awlx <awlnx@penguinfriends.org> | 2016-02-25 11:42:21 +0100 |
---|---|---|
committer | awlx <awlnx@penguinfriends.org> | 2016-02-25 11:42:21 +0100 |
commit | 8c40c1d6b6af5a5f72d4cd3d1aae7ae54052fa98 (patch) | |
tree | 29ec6af71aea8262bc90e6bab5faffac12317f4e /lib/oxidized/model | |
parent | f2a7e15657d1a211f20e6a58d0a0f6dbe0857523 (diff) |
Fixed the fortios prompt to support a read-only user
Diffstat (limited to 'lib/oxidized/model')
-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 92add0e..aad3a6e 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 ' ' |