summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-03-30 12:21:48 +0100
committerGitHub <noreply@github.com>2026-03-30 12:21:48 +0100
commit4076140d0184e0c8324330786883dd24b7001534 (patch)
tree1297da708747bc304b7d0b323146250f4273c8e5 /python
parentad6f703b16464a6cb73f9052077a6100aff4db73 (diff)
parent139b0841f8242a5c6ebdafb37380c1fb78342aae (diff)
downloadvyos-1x-4076140d0184e0c8324330786883dd24b7001534.tar.gz
vyos-1x-4076140d0184e0c8324330786883dd24b7001534.zip
Merge pull request #5095 from sever-sever/T8410-src
T8410: Fix typos and mistakes for comments and messages
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/ethernet.py2
-rw-r--r--python/vyos/ifconfig/pppoe.py4
-rw-r--r--python/vyos/ifconfig/tunnel.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/python/vyos/ifconfig/ethernet.py b/python/vyos/ifconfig/ethernet.py
index c70190e38..3c4c86f4b 100644
--- a/python/vyos/ifconfig/ethernet.py
+++ b/python/vyos/ifconfig/ethernet.py
@@ -518,7 +518,7 @@ class EthernetIf(Interface):
cmd = f'ethtool --set-channels {ifname} {rx_tx_comb} {queues}'
output, code = self._popen(cmd)
# ethtool error codes:
- # 80 - value already setted
+ # 80 - value already set
# 81 - does not possible to set value
if code and code != 80:
print(f'could not set "{rx_tx_comb}" channel for {ifname}')
diff --git a/python/vyos/ifconfig/pppoe.py b/python/vyos/ifconfig/pppoe.py
index 2a89cbddd..7c4a6dfbb 100644
--- a/python/vyos/ifconfig/pppoe.py
+++ b/python/vyos/ifconfig/pppoe.py
@@ -102,9 +102,9 @@ class PPPoEIf(Interface):
self.set_interface('accept_ra_defrtr', enable)
def update(self, config):
- """ General helper function which works on a dictionary retrived by
+ """ General helper function which works on a dictionary retrieved by
get_config_dict(). It's main intention is to consolidate the scattered
- interface setup code and provide a single point of entry when workin
+ interface setup code and provide a single point of entry when working
on any interface. """
# Cache the configuration - it will be reused inside e.g. DHCP handler
diff --git a/python/vyos/ifconfig/tunnel.py b/python/vyos/ifconfig/tunnel.py
index eb8fcdd1f..befaed8fd 100644
--- a/python/vyos/ifconfig/tunnel.py
+++ b/python/vyos/ifconfig/tunnel.py
@@ -163,7 +163,7 @@ class TunnelIf(Interface):
def update(self, config):
""" General helper function which works on a dictionary retrieved by
get_config_dict(). It's main intention is to consolidate the scattered
- interface setup code and provide a single point of entry when workin
+ interface setup code and provide a single point of entry when working
on any interface. """
# Adjust iproute2 tunnel parameters if necessary
self._change_options()