summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-06-22 17:28:07 +0200
committerGitHub <noreply@github.com>2024-06-22 17:28:07 +0200
commita1c558b8762d1007b5c6f31a11626df73db89139 (patch)
treeb39d52e46760e69bcac04879ebe463a6c8c56c43 /python
parentf9c45bb95dfee33fe15f3db280e1e24bcdf34002 (diff)
parent0ef709dc082c97a5e0d1e19646ead98036d9a85c (diff)
downloadvyos-1x-a1c558b8762d1007b5c6f31a11626df73db89139.tar.gz
vyos-1x-a1c558b8762d1007b5c6f31a11626df73db89139.zip
Merge pull request #3686 from vyos/mergify/bp/sagitta/pr-3685
macsec: T5447: fix error message syntax - there is no tx and rx key, only key (backport #3685)
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/macsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/macsec.py b/python/vyos/ifconfig/macsec.py
index bde1d9aec..383905814 100644
--- a/python/vyos/ifconfig/macsec.py
+++ b/python/vyos/ifconfig/macsec.py
@@ -66,7 +66,7 @@ class MACsecIf(Interface):
cmd = 'ip macsec add {ifname} rx port 1 address'.format(**self.config)
cmd += f' {peer_config["mac"]}'
self._cmd(cmd)
- # Add the rx-key to the address
+ # Add the encryption key to the address
cmd += f' sa 0 pn 1 on key 01 {peer_config["key"]}'
self._cmd(cmd)