]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
local-addresses: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Feb 2024 00:18:35 +0000 (09:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Feb 2024 00:18:38 +0000 (09:18 +0900)
Follow-up for 5cb56068d0aae4c85e97a4ae16e33a7614cdc0bb.

src/shared/local-addresses.c

index b72ff1fb01293637a7d55cfe6d43c111de0fefb6..842156fcfc32722516ea718517fe2955a56ad7c9 100644 (file)
@@ -359,7 +359,7 @@ int local_gateways(
         int r;
 
         /* The RTA_VIA attribute is used only for IPv4 routes with an IPv6 gateway. If IPv4 gateways are
-         * requested (af == AF_INET), then we do not return IPv6 gateway addresses. Similary, if IPv6
+         * requested (af == AF_INET), then we do not return IPv6 gateway addresses. Similarly, if IPv6
          * gateways are requested (af == AF_INET6), then we do not return gateway addresses for IPv4 routes.
          * So, the RTA_VIA attribute is only parsed when af == AF_UNSPEC. */
         bool allow_via = af == AF_UNSPEC;