]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
sun: fix compile for if_mtu
authorRoy Marples <roy@marples.name>
Tue, 15 Apr 2025 13:16:46 +0000 (14:16 +0100)
committerRoy Marples <roy@marples.name>
Tue, 15 Apr 2025 13:16:46 +0000 (14:16 +0100)
src/if-sun.c

index 01a109d385efc8477b1d5a042f52bb6612f537f9..6dc4a77bba76cc05ba60be54774ae784161bf980 100644 (file)
@@ -1059,7 +1059,7 @@ if_ifinfo(struct dhcpcd_ctx *ctx, const struct if_msghdr *ifm)
                state = LINK_UP;
                flags |= IFF_UP;
        }
-       ifp->mtu = if_mtu(ifp);
+       ifp->mtu = if_getmtu(ifp);
        dhcpcd_handlecarrier(ifp, state, flags);
        return 0;
 }