summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-16 20:33:51 +0100
committerGitHub <noreply@github.com>2022-11-16 20:33:51 +0100
commit15a8c72391ba7be439a17f453c77b18e6d06ce5e (patch)
tree0a1bf4751ddd05f8b92588e5c5274275c18da389 /src/op_mode
parenta679b2da9543ad1d071a43caf9f646fbb2857c49 (diff)
parent9faa60a78d8fae85798a7219a5de82dd0af0e3c2 (diff)
downloadvyos-1x-15a8c72391ba7be439a17f453c77b18e6d06ce5e.tar.gz
vyos-1x-15a8c72391ba7be439a17f453c77b18e6d06ce5e.zip
Merge pull request #1661 from roedie/T4794
T4794: Fix show show firewall name
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/firewall.py2
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():