]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't flame about missing interfaces if none were requested
authorTed Lemon <source@isc.org>
Sun, 7 Jul 1996 15:53:07 +0000 (15:53 +0000)
committerTed Lemon <source@isc.org>
Sun, 7 Jul 1996 15:53:07 +0000 (15:53 +0000)
common/dispatch.c
dispatch.c

index 15927b509668e0dab5859bb2295b42080df4ab4c..979ea08855c38fca4172bf231ee126bdc73a9d59 100644 (file)
@@ -204,7 +204,7 @@ void discover_interfaces ()
        last = (struct interface_info *)0;
        for (tmp = interfaces; tmp; tmp = tmp -> next) {
                if (!tmp -> tif || !(tmp -> flags & INTERFACE_REQUESTED)) {
-                       if (tmp -> flags & INTERFACE_REQUESTED)
+                       if ((tmp -> flags & INTERFACE_REQUESTED) != ir)
                                error ("%s: not found", tmp -> name);
                        if (!last)
                                interfaces = interfaces -> next;
index 15927b509668e0dab5859bb2295b42080df4ab4c..979ea08855c38fca4172bf231ee126bdc73a9d59 100644 (file)
@@ -204,7 +204,7 @@ void discover_interfaces ()
        last = (struct interface_info *)0;
        for (tmp = interfaces; tmp; tmp = tmp -> next) {
                if (!tmp -> tif || !(tmp -> flags & INTERFACE_REQUESTED)) {
-                       if (tmp -> flags & INTERFACE_REQUESTED)
+                       if ((tmp -> flags & INTERFACE_REQUESTED) != ir)
                                error ("%s: not found", tmp -> name);
                        if (!last)
                                interfaces = interfaces -> next;