diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-27 19:21:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 19:21:04 +0200 |
commit | e5e61c36939dcbb1c7db6ec3941ea18bd7d80c0f (patch) | |
tree | da7ae170ddd7e59b5cbd92b223f40569ab23133a | |
parent | af108d812d1506a38feee7061fe935639dcc63a6 (diff) | |
parent | 1572fb3ccd54bd7aa502a60f6207fc2e9c99452d (diff) | |
download | vyos-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
-rwxr-xr-x | src/op_mode/show_ipsec_sa.py | 1 |
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())) |