]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcpcd: ignore ENXIO on handlelink
authorRoy Marples <roy@marples.name>
Tue, 1 Apr 2025 09:03:42 +0000 (10:03 +0100)
committerRoy Marples <roy@marples.name>
Tue, 1 Apr 2025 09:03:42 +0000 (10:03 +0100)
src/dhcpcd.c

index 4835fef000fa715e446865b8d7d62c4399b7cff9..7cea7bd5f061ac4110439559c1a6b8471de5aed6 100644 (file)
@@ -1145,7 +1145,7 @@ dhcpcd_handlelink(void *arg, unsigned short events)
                        dhcpcd_linkoverflow(ctx);
                        return;
                }
-               if (errno != ENOTSUP)
+               if (errno != ENOTSUP && errno != ENXIO)
                        logerr(__func__);
        }
 }