summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-20 13:21:15 +0200
committerGitHub <noreply@github.com>2021-06-20 13:21:15 +0200
commitc9c5949c525f90471ed16670e7ee6c8b48069abe (patch)
tree27a8ebe2a48fc9501129b98982f7f4ab662849ae /src/op_mode
parentfdb1e8756fd4570233c8d02eaa37f88f3d7f3adc (diff)
parent0dbddd8b9e10375baf2af7b78dfd46a4fed5404f (diff)
downloadvyos-1x-c9c5949c525f90471ed16670e7ee6c8b48069abe.tar.gz
vyos-1x-c9c5949c525f90471ed16670e7ee6c8b48069abe.zip
Merge pull request #890 from sarthurdev/T3617_typo
ipsec: T3617: Correct typo on encryption variable
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/vpn_ike_sa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/vpn_ike_sa.py b/src/op_mode/vpn_ike_sa.py
index 2a3fbf718..622498a7f 100755
--- a/src/op_mode/vpn_ike_sa.py
+++ b/src/op_mode/vpn_ike_sa.py
@@ -51,7 +51,7 @@ def ike_sa(peer, nat):
version = 'IKEv' + s(sa['version'])
encryption = f'{s(sa["encr-alg"])}' if 'encr-alg' in sa else 'n/a'
if 'encr-keysize' in sa:
- encyption += '_' + s(sa["encr-keysize"])
+ encryption += '_' + s(sa["encr-keysize"])
integrity = s(sa['integ-alg']) if 'integ-alg' in sa else 'n/a'
dh_group = s(sa['dh-group']) if 'dh-group' in sa else 'n/a'
natt = 'yes' if 'nat-local' in sa and s(sa['nat-local']) == 'yes' else 'no'