summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-24 22:30:14 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-24 22:30:45 +0100
commit40fdf5c619018e3dc1c755cbb0ea510eff5b442d (patch)
tree03449d9b58725d07be8fef7c1a19b961d20491a4
parent249c8ad37e5ee7eae886aa7ebae64e32a40e5ff3 (diff)
downloadvyos-1x-40fdf5c619018e3dc1c755cbb0ea510eff5b442d.tar.gz
vyos-1x-40fdf5c619018e3dc1c755cbb0ea510eff5b442d.zip
ethernet: T3163: fix typos in vyos.ethtool comments
(cherry picked from commit bddeae3755c8d83f4c47bc3b3798858a95427530)
-rw-r--r--python/vyos/ethtool.py2
-rw-r--r--src/tests/test_ethtool.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index 68c8a6656..136feae8d 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -96,6 +96,6 @@ class Ethtool:
return self.ring_buffers.get('rx', None)
def get_tx_buffer(self):
- # Configuration of RX ring-buffers is not supported on every device,
+ # Configuration of TX ring-buffers is not supported on every device,
# thus when it's impossible return None
return self.ring_buffers.get('tx', None)
diff --git a/src/tests/test_ethtool.py b/src/tests/test_ethtool.py
index bc53b938a..db0e46925 100644
--- a/src/tests/test_ethtool.py
+++ b/src/tests/test_ethtool.py
@@ -29,5 +29,3 @@ class TestVyOSEthtool(TestCase):
self.assertFalse(tmp.is_fixed_gro())
self.assertFalse(tmp.is_fixed_gso())
self.assertFalse(tmp.is_fixed_sg())
-
-