From: Roy Marples Date: Tue, 15 Apr 2025 13:16:46 +0000 (+0100) Subject: sun: fix compile for if_mtu X-Git-Tag: v10.2.3~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1893f3510509c866172603e8fa8553832be50477;p=thirdparty%2Fdhcpcd.git sun: fix compile for if_mtu --- diff --git a/src/if-sun.c b/src/if-sun.c index 01a109d3..6dc4a77b 100644 --- a/src/if-sun.c +++ b/src/if-sun.c @@ -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; }