summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-27 15:45:04 +0000
committersever-sever <v.gletenko@vyos.io>2021-04-27 15:45:04 +0000
commit1572fb3ccd54bd7aa502a60f6207fc2e9c99452d (patch)
tree922a03b3d4b2455b3d8a1f3daef2a006aa7949cb /src
parent41152d41a18fc75f91e105a7a85ccc64e67a99c0 (diff)
downloadvyos-1x-1572fb3ccd54bd7aa502a60f6207fc2e9c99452d.tar.gz
vyos-1x-1572fb3ccd54bd7aa502a60f6207fc2e9c99452d.zip
ipsec: T3473: Decode byte csa-name for op-mode
Diffstat (limited to 'src')
-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()))