Skip to content

Commit 1893f35

Browse files
committed
sun: fix compile for if_mtu
1 parent 7ae45ed commit 1893f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/if-sun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ if_ifinfo(struct dhcpcd_ctx *ctx, const struct if_msghdr *ifm)
10591059
state = LINK_UP;
10601060
flags |= IFF_UP;
10611061
}
1062-
ifp->mtu = if_mtu(ifp);
1062+
ifp->mtu = if_getmtu(ifp);
10631063
dhcpcd_handlecarrier(ifp, state, flags);
10641064
return 0;
10651065
}

0 commit comments

Comments
 (0)