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:32:10 +0100
commit812d9770619b968b04961aebf3944fde13df491b (patch)
tree3d332a5f74204ad34580c7c4927de4932714a185 /python
parent2cec431e5caf9df85640f707cd6dc3077c17c238 (diff)
downloadvyos-1x-812d9770619b968b04961aebf3944fde13df491b.tar.gz
vyos-1x-812d9770619b968b04961aebf3944fde13df491b.zip
ethernet: T4242: speed/duplex can never be switched back to auto/auto
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