summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-12-22 02:01:53 +0200
committerytti <saku@ytti.fi>2015-12-22 02:01:53 +0200
commit6a09fc99989d9282d938e7dc2d48a30ad6ef9ad6 (patch)
tree295a4a9e2572a7e59b144873ccc98e8cc3ec8b50 /lib/oxidized
parent9b653ac79e86ad9efdcc303562cd1b1d20c8b03f (diff)
parent8e6d2d15dfcbfd01547ac33ba78f7e88ba3ef292 (diff)
Merge pull request #249 from asynet/patch-1
Update fortios.rb
Diffstat (limited to 'lib/oxidized')
-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 2c796cb..a9d219c 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?)$/
cmd :all do |cfg, cmdstring|
new_cfg = comment "COMMAND: #{cmdstring}\n"