diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-25 20:15:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-25 20:15:35 +0100 |
| commit | 210547f31ef45e6bb42b44bdaa8a8864179a8bbc (patch) | |
| tree | 062c31be54266e4b72c525a6c7a527468618b7c6 /src/conf_mode/interfaces_macsec.py | |
| parent | d41069f213eaaf0f63b99a1373c06d50bbe4831d (diff) | |
| parent | bb2aee1e58c1cd30087b935798060e6bf3c698c8 (diff) | |
| download | vyos-1x-210547f31ef45e6bb42b44bdaa8a8864179a8bbc.tar.gz vyos-1x-210547f31ef45e6bb42b44bdaa8a8864179a8bbc.zip | |
Merge pull request #5082 from sever-sever/T8410
T8410: Fix typos and mistakes for operational and configuration commands
Diffstat (limited to 'src/conf_mode/interfaces_macsec.py')
| -rwxr-xr-x | src/conf_mode/interfaces_macsec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces_macsec.py b/src/conf_mode/interfaces_macsec.py index 2904e69cb..3c043e11e 100755 --- a/src/conf_mode/interfaces_macsec.py +++ b/src/conf_mode/interfaces_macsec.py @@ -55,7 +55,7 @@ GCM_256_KEY_ERROR = 'gcm-aes-256 requires a 256bit long key!' def get_config(config=None): """ - Retrive CLI config as dictionary. Dictionary can never be empty, as at least the + Retrieve CLI config as dictionary. Dictionary can never be empty, as at least the interface name will be added or a deleted flag """ if config: @@ -154,11 +154,11 @@ def verify(macsec): if 'source_interface' in macsec: # MACsec adds a 40 byte overhead (32 byte MACsec + 8 bytes VLAN 802.1ad - # and 802.1q) - we need to check the underlaying MTU if our configured + # and 802.1q) - we need to check the underlying MTU if our configured # MTU is at least 40 bytes less then the MTU of our physical interface. lower_mtu = Interface(macsec['source_interface']).get_mtu() if lower_mtu < (int(macsec['mtu']) + 40): - raise ConfigError('MACsec overhead does not fit into underlaying device MTU,\n' \ + raise ConfigError('MACsec overhead does not fit into underlying device MTU,\n' \ f'{lower_mtu} bytes is too small!') return None |
