diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-31 11:58:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-31 19:04:08 +0200 |
commit | 031817eecb14280e3f421cb9c391ab29dbc2fa60 (patch) | |
tree | b6349e1fa13253e465488efc8682b3e82ada60f5 /op-mode-definitions | |
parent | 862e6e96bfc557974dbbe374d0aefe654b76e664 (diff) | |
download | vyos-1x-031817eecb14280e3f421cb9c391ab29dbc2fa60.tar.gz vyos-1x-031817eecb14280e3f421cb9c391ab29dbc2fa60.zip |
ethernet: T3514: bail out early on invalid adapter speed/duplex setting
Ethernet adapters have a discrete set of available speed and duplex settings.
Instead of passing every value down to ethtool and let it decide, we can do
this early in the VyOS verify() function for ethernet interfaces.
(cherry picked from commit 91892e431349ca0edb5e3e3023e4f340ab9b777f)
Diffstat (limited to 'op-mode-definitions')
0 files changed, 0 insertions, 0 deletions