diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-04-27 15:45:04 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-04-27 15:45:04 +0000 |
commit | 1572fb3ccd54bd7aa502a60f6207fc2e9c99452d (patch) | |
tree | 922a03b3d4b2455b3d8a1f3daef2a006aa7949cb /src/op_mode/show_ipsec_sa.py | |
parent | 41152d41a18fc75f91e105a7a85ccc64e67a99c0 (diff) | |
download | vyos-1x-1572fb3ccd54bd7aa502a60f6207fc2e9c99452d.tar.gz vyos-1x-1572fb3ccd54bd7aa502a60f6207fc2e9c99452d.zip |
ipsec: T3473: Decode byte csa-name for op-mode
Diffstat (limited to 'src/op_mode/show_ipsec_sa.py')
-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())) |