From 1572fb3ccd54bd7aa502a60f6207fc2e9c99452d Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 27 Apr 2021 15:45:04 +0000 Subject: ipsec: T3473: Decode byte csa-name for op-mode --- src/op_mode/show_ipsec_sa.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/op_mode') 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())) -- cgit v1.2.3