]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
if: support ARPHRD_NETROM
authorRoy Marples <roy@marples.name>
Tue, 20 Aug 2019 12:33:30 +0000 (13:33 +0100)
committerRoy Marples <roy@marples.name>
Tue, 20 Aug 2019 12:33:30 +0000 (13:33 +0100)
src/if.c

index fe84a8823434ee277aab5d8e701ff15a7b104302..857294effca3f7ffa830713e75658447648df5dd 100644 (file)
--- a/src/if.c
+++ b/src/if.c
@@ -528,6 +528,9 @@ if_discover(struct dhcpcd_ctx *ctx, struct ifaddrs **ifaddrs,
                            ctx->ifac == 0 && !if_hasconf(ctx, ifp->name))
                                active = IF_INACTIVE;
                        switch (ifp->family) {
+#ifdef ARPHRD_NETROM
+                       case ARPHRD_NETROM:
+#endif
                        case ARPHRD_IEEE1394:
                        case ARPHRD_INFINIBAND:
 #ifdef ARPHRD_LOOPBACK