summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-27 19:21:04 +0200
committerGitHub <noreply@github.com>2021-04-27 19:21:04 +0200
commite5e61c36939dcbb1c7db6ec3941ea18bd7d80c0f (patch)
treeda7ae170ddd7e59b5cbd92b223f40569ab23133a /src/op_mode
parentaf108d812d1506a38feee7061fe935639dcc63a6 (diff)
parent1572fb3ccd54bd7aa502a60f6207fc2e9c99452d (diff)
downloadvyos-1x-e5e61c36939dcbb1c7db6ec3941ea18bd7d80c0f.tar.gz
vyos-1x-e5e61c36939dcbb1c7db6ec3941ea18bd7d80c0f.zip
Merge pull request #820 from sever-sever/T3473
ipsec: T3473: Decode byte csa-name for op-mode
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/show_ipsec_sa.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/show_ipsec_sa.py b/src/op_mode/show_ipsec_sa.py
index c98ced158..645a0571d 100755
--- a/src/op_mode/show_ipsec_sa.py
+++ b/src/op_mode/show_ipsec_sa.py
@@ -71,6 +71,7 @@ for sa in sas:
for csa in installed_sas:
isa = installed_sas[csa]
csa_name = isa['name']
+ csa_name = csa_name.decode()
bytes_in = hurry.filesize.size(int(isa["bytes-in"].decode()))
bytes_out = hurry.filesize.size(int(isa["bytes-out"].decode()))