]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: correct argument comment may_keep_dhcp
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 7 May 2025 10:22:46 +0000 (12:22 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Wed, 14 May 2025 09:15:45 +0000 (11:15 +0200)
src/network/networkd-link.c

index f81e88fbc3669ee98c9d92c65aa51b8a875960f7..58614a5d2655470833094b8f77136fafea08f6d3 100644 (file)
@@ -1437,7 +1437,7 @@ int link_reconfigure_impl(Link *link, LinkReconfigurationFlag flags) {
         } else {
                 /* Otherwise, stop DHCP client and friends unconditionally, and drop all dynamic
                  * configurations like DHCP address and routes. */
-                r = link_stop_engines(link, /* may_keep_dhcp = */ false);
+                r = link_stop_engines(link, /* may_keep_dynamic = */ false);
                 if (r < 0)
                         return r;