summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-19 21:18:53 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-06-19 19:25:12 +0000
commit53e628e9b2c99632f4026b5093ad4693511cb75e (patch)
tree30c3eefdb8333631ef82980707e7055c59007343 /python/vyos
parente0850e5715c45fcaa19feab382f89c40add304a1 (diff)
downloadvyos-1x-53e628e9b2c99632f4026b5093ad4693511cb75e.tar.gz
vyos-1x-53e628e9b2c99632f4026b5093ad4693511cb75e.zip
macsec: T5447: fix error message syntax - there is no tx and rx key, only key
(cherry picked from commit f29caa824c02c833a3978b9236391e4277c1a6ba)
Diffstat (limited to 'python/vyos')
-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)