From 53e628e9b2c99632f4026b5093ad4693511cb75e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 19 Jun 2024 21:18:53 +0200 Subject: macsec: T5447: fix error message syntax - there is no tx and rx key, only key (cherry picked from commit f29caa824c02c833a3978b9236391e4277c1a6ba) --- python/vyos/ifconfig/macsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3