diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-23 14:28:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 14:28:21 +0100 |
commit | 76d8a34d9efe9b420f9e698bba88b44ec5d8631b (patch) | |
tree | cc4fe6ba1f133506c826c9c22222d15c73e67690 /src/op_mode/conntrack.py | |
parent | 54a1b3552eb294c192850c74d04f8769b0b92bc0 (diff) | |
parent | c3ac2dc6941a3bee4e84ee4878da5771d1a79294 (diff) | |
download | vyos-1x-76d8a34d9efe9b420f9e698bba88b44ec5d8631b.tar.gz vyos-1x-76d8a34d9efe9b420f9e698bba88b44ec5d8631b.zip |
Merge pull request #1723 from aapostoliuk/T4890-sagitta
T4890: Fixed op_mode show conntrack table ipv4
Diffstat (limited to 'src/op_mode/conntrack.py')
-rwxr-xr-x | src/op_mode/conntrack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/conntrack.py b/src/op_mode/conntrack.py index fff537936..df213cc5a 100755 --- a/src/op_mode/conntrack.py +++ b/src/op_mode/conntrack.py @@ -116,7 +116,7 @@ def get_formatted_output(dict_data): reply_src = f'{reply_src}:{reply_sport}' if reply_sport else reply_src reply_dst = f'{reply_dst}:{reply_dport}' if reply_dport else reply_dst state = meta['state'] if 'state' in meta else '' - mark = meta['mark'] + mark = meta['mark'] if 'mark' in meta else '' zone = meta['zone'] if 'zone' in meta else '' data_entries.append( [conn_id, orig_src, orig_dst, reply_src, reply_dst, proto, state, timeout, mark, zone]) |