summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-13 20:32:10 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-13 20:35:51 +0100
commit620cca9750594f1f6a1d8f2f54096b68b1221513 (patch)
tree721c5331aefca8e6a783e2c59e63aca47a146097 /python
parente168a0b6b8051d531d4576f72d5e3d27ed980a8a (diff)
downloadvyos-1x-620cca9750594f1f6a1d8f2f54096b68b1221513.tar.gz
vyos-1x-620cca9750594f1f6a1d8f2f54096b68b1221513.zip
ethernet: T4242: speed/duplex can never be switched back to auto/auto
(cherry picked from commit 812d9770619b968b04961aebf3944fde13df491b)
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ethtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index e45b0f041..80d44eee6 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -41,7 +41,7 @@ class Ethtool:
# '100' : {'full': '', 'half': ''},
# '1000': {'full': ''}
# }
- _speed_duplex = { }
+ _speed_duplex = {'auto': {'auto': ''}}
_ring_buffers = { }
_ring_buffers_max = { }
_driver_name = None