diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-19 21:18:53 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-19 19:24:40 +0000 |
commit | 0ef709dc082c97a5e0d1e19646ead98036d9a85c (patch) | |
tree | f3392fce588edee39cea24b552c7143ccdcceb52 /python | |
parent | 5d46c64a3041504a81e630790a88738300b232c1 (diff) | |
download | vyos-1x-0ef709dc082c97a5e0d1e19646ead98036d9a85c.tar.gz vyos-1x-0ef709dc082c97a5e0d1e19646ead98036d9a85c.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')
-rw-r--r-- | python/vyos/ifconfig/macsec.py | 2 |
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) |