diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-29 16:45:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 16:45:37 +0100 |
commit | 11f8efe7ab411a2ef5467b1471e9d5c0d83bd0d2 (patch) | |
tree | e99be195ff9ec6c9745b535df6bae3ddc0fd071c /python/vyos | |
parent | bb70f9964fd845bca0a5396dde7ca50e3daa2db3 (diff) | |
parent | e6af88c79cfb178765ede8910b690cc349d8e5f6 (diff) | |
download | vyos-1x-11f8efe7ab411a2ef5467b1471e9d5c0d83bd0d2.tar.gz vyos-1x-11f8efe7ab411a2ef5467b1471e9d5c0d83bd0d2.zip |
Merge pull request #3065 from vyos/mergify/bp/sagitta/pr-3052
vyos.ethtool: T6070: fix EEE reading the incorrect status line (backport #3052)
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/ethtool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index ba638b280..f20fa452e 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -150,7 +150,7 @@ class Ethtool: self._eee = True # read current EEE setting, this returns: # EEE status: disabled || EEE status: enabled - inactive || EEE status: enabled - active - self._eee_enabled = bool('enabled' in out.splitlines()[2]) + self._eee_enabled = bool('enabled' in out.splitlines()[1]) def check_auto_negotiation_supported(self): """ Check if the NIC supports changing auto-negotiation """ |