diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-16 20:33:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 20:33:51 +0100 |
commit | 15a8c72391ba7be439a17f453c77b18e6d06ce5e (patch) | |
tree | 0a1bf4751ddd05f8b92588e5c5274275c18da389 | |
parent | a679b2da9543ad1d071a43caf9f646fbb2857c49 (diff) | |
parent | 9faa60a78d8fae85798a7219a5de82dd0af0e3c2 (diff) | |
download | vyos-1x-15a8c72391ba7be439a17f453c77b18e6d06ce5e.tar.gz vyos-1x-15a8c72391ba7be439a17f453c77b18e6d06ce5e.zip |
Merge pull request #1661 from roedie/T4794
T4794: Fix show show firewall name
-rwxr-xr-x | src/op_mode/firewall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/firewall.py b/src/op_mode/firewall.py index 950feb625..46bda5f7e 100755 --- a/src/op_mode/firewall.py +++ b/src/op_mode/firewall.py @@ -63,7 +63,7 @@ def get_config_firewall(conf, name=None, ipv6=False, interfaces=True): get_first_key=True, no_tag_node_value_mangle=True) if firewall and interfaces: if name: - firewall['interface'] = [] + firewall['interface'] = {} else: if 'name' in firewall: for fw_name, name_conf in firewall['name'].items(): |