summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-19 21:18:53 +0200
committerChristian Breunig <christian@breunig.cc>2024-06-19 21:18:53 +0200
commitf29caa824c02c833a3978b9236391e4277c1a6ba (patch)
treec0a494329bad8a2eef8a7ed54af73a7a85d7e750 /python/vyos/ifconfig
parent47634378a00c41cab611092f200e86f9124f7ca8 (diff)
downloadvyos-1x-f29caa824c02c833a3978b9236391e4277c1a6ba.tar.gz
vyos-1x-f29caa824c02c833a3978b9236391e4277c1a6ba.zip
macsec: T5447: fix error message syntax - there is no tx and rx key, only key
Diffstat (limited to 'python/vyos/ifconfig')
-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)