]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
linux: use correct prototype
authorRoy Marples <roy@marples.name>
Sun, 5 May 2019 18:04:02 +0000 (19:04 +0100)
committerRoy Marples <roy@marples.name>
Sun, 5 May 2019 18:06:18 +0000 (19:06 +0100)
src/if-linux.c

index d57fec00bfc41bcc96485a3853ebf2153077e585..4849d91985644001c0baec22f784a21f13dee683 100644 (file)
@@ -714,9 +714,9 @@ link_neigh(struct dhcpcd_ctx *ctx, __unused struct interface *ifp,
 #endif
 
 static int
-link_netlink(struct dhcpcd_ctx *ctx, struct interface *ifp,
-    struct nlmsghdr *nlm)
+link_netlink(struct dhcpcd_ctx *ctx, void *arg, struct nlmsghdr *nlm)
 {
+       struct interface *ifp = arg;
        int r;
        size_t len;
        struct rtattr *rta, *hwaddr;