From 4b7770e6629dc65c9845223dee80f6b45d0713f5 Mon Sep 17 00:00:00 2001 From: "wang.wangqiang" Date: Wed, 17 Apr 2024 15:48:29 +0800 Subject: [PATCH] update --- cli_creator/firewall/forti.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli_creator/firewall/forti.py b/cli_creator/firewall/forti.py index 3da86d6..1b89a1b 100644 --- a/cli_creator/firewall/forti.py +++ b/cli_creator/firewall/forti.py @@ -144,7 +144,7 @@ def configure_policy(self): def configure_policy_modify(self, policy_id, select): if policy_id == "": - pass + command = "config firewall policy\n" else: command = "config firewall policy\n" + "edit %s\n"% policy_id src_address_str = ""