diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-03-27 14:43:47 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-03-27 15:00:17 +0000 |
| commit | 139b0841f8242a5c6ebdafb37380c1fb78342aae (patch) | |
| tree | 1297da708747bc304b7d0b323146250f4273c8e5 /src/udev | |
| parent | ad6f703b16464a6cb73f9052077a6100aff4db73 (diff) | |
| download | vyos-1x-139b0841f8242a5c6ebdafb37380c1fb78342aae.tar.gz vyos-1x-139b0841f8242a5c6ebdafb37380c1fb78342aae.zip | |
T8410: Fix typos and mistakes for comments and messages
Fix typos and mistakes
No functional changes
Diffstat (limited to 'src/udev')
| -rwxr-xr-x | src/udev/vyos_net_name | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/vyos_net_name b/src/udev/vyos_net_name index 6ad7af2d6..568734cb7 100755 --- a/src/udev/vyos_net_name +++ b/src/udev/vyos_net_name @@ -43,7 +43,7 @@ def is_available(intfs: dict, intf_name: str) -> bool: def find_available(intfs: dict, prefix: str) -> str: - """Find lowest indexed iterface name that is not assigned""" + """Find lowest indexed interface name that is not assigned""" index_list = [ int(x.replace(prefix, '')) for x in list(intfs.values()) if prefix in x ] @@ -72,7 +72,7 @@ def mod_ifname(ifname: str) -> str: def get_biosdevname(ifname: str) -> str: """Use legacy vyatta-biosdevname to query for name - This is carried over for compatability only, and will likely be dropped + This is carried over for compatibility only, and will likely be dropped going forward. XXX: This throws an error, and likely has for a long time, unnoticed since vyatta_net_name redirected stderr to /dev/null. |
