Skip to content

Commit

Permalink
Update fortinet_ssh.py (#1968)
Browse files Browse the repository at this point in the history
Fix for changed "get system status" command output (FortiOS 6.2 and later).
  • Loading branch information
greenfox878 authored Sep 30, 2020
1 parent f96263c commit 967c461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netmiko/fortinet/fortinet_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def disable_paging(self, delay_factor=1, **kwargs):
self.vdoms = False
self._output_mode = "more"

if "Virtual domain configuration: enable" in output:
if re.search(r"Virtual domain configuration: (multiple|enable)", output):
self.vdoms = True
vdom_additional_command = "config global"
output = self.send_command_timing(vdom_additional_command, delay_factor=2)
Expand Down

0 comments on commit 967c461

Please sign in to comment.