]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris: Add a shim for hardware address randomisation
authorRoy Marples <roy@marples.name>
Wed, 15 Jan 2020 16:18:54 +0000 (19:18 +0300)
committerRoy Marples <roy@marples.name>
Wed, 15 Jan 2020 16:18:54 +0000 (19:18 +0300)
Doesn't work yet.

src/if-sun.c

index 3cf5ee92514890f6fb5d7fb7f671e6e0a419bcb1..05d454ae6ab0a9bf7cf866d2797128da8dc85627 100644 (file)
@@ -188,6 +188,14 @@ if_closesockets_os(struct dhcpcd_ctx *ctx)
        free(ctx->priv);
 }
 
+int
+if_setmac(struct interface *ifp, void *mac, uint8_t maclen)
+{
+
+       errno = ENOTSUP;
+       return -1;
+}
+
 int
 if_carrier(struct interface *ifp)
 {