From 139b0841f8242a5c6ebdafb37380c1fb78342aae Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 27 Mar 2026 14:43:47 +0000 Subject: T8410: Fix typos and mistakes for comments and messages Fix typos and mistakes No functional changes --- python/vyos/ifconfig/ethernet.py | 2 +- python/vyos/ifconfig/pppoe.py | 4 ++-- python/vyos/ifconfig/tunnel.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'python') 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() -- cgit v1.2.3