]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: fix indentation
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 6 Nov 2023 06:42:53 +0000 (15:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 6 Nov 2023 06:53:01 +0000 (15:53 +0900)
Follow-up for f141b2c053527cdf2500dae5cd4f470ed964b436.

src/network/networkd-ndisc.c

index 08af9c73b9935321ace3af665ffc812683712458..ab9eeb13a5d5fc791289b463536a3d9c26f4b3ec 100644 (file)
@@ -195,7 +195,7 @@ static int ndisc_request_route(Route *in, Link *link, sd_ndisc_router *rt) {
                         return log_link_warning_errno(link, r, "Failed to get default router MTU from RA: %m");
         }
 
-       if (link->network->ipv6_accept_ra_use_hop_limit) {
+        if (link->network->ipv6_accept_ra_use_hop_limit) {
                 r = sd_ndisc_router_get_hop_limit(rt, &hop_limit);
                 if (r < 0 && r != -ENODATA)
                         return log_link_warning_errno(link, r, "Failed to get default router hop limit from RA: %m");
@@ -212,7 +212,6 @@ static int ndisc_request_route(Route *in, Link *link, sd_ndisc_router *rt) {
                 route->quickack = link->network->ipv6_accept_ra_quickack;
         if (route->mtu == 0)
                 route->mtu = mtu;
-
         if (route->hop_limit == 0)
                 route->hop_limit = hop_limit;