]> git.ipfire.org Git - thirdparty/dhcpcd.git/blobdiff - src/dhcp6.c
DHCP6: For Prefix Delegation, the - interface means no assignment
[thirdparty/dhcpcd.git] / src / dhcp6.c
index 6703f5cf43f2edf393ae37adb4cca51681711a40..bdc3664e2607ff6aa7db6671d787ed5a74be526f 100644 (file)
@@ -3871,8 +3871,9 @@ dhcp6_activateinterfaces(struct interface *ifp)
                        sla = &ia->sla[j];
                        ifd = if_find(ifp->ctx->ifaces, sla->ifname);
                        if (ifd == NULL) {
-                               logwarn("%s: cannot delegate to %s",
-                                   ifp->name, sla->ifname);
+                               if (*sla->ifname != '-')
+                                       logwarn("%s: cannot delegate to %s",
+                                           ifp->name, sla->ifname);
                                continue;
                        }
                        if (!ifd->active) {