summaryrefslogtreecommitdiff
path: root/common/dispatch.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-07-07 15:53:07 +0000
committerTed Lemon <source@isc.org>1996-07-07 15:53:07 +0000
commitb304ef6ad959bc29be98a10428af958489565f4a (patch)
tree98a2cad071c8c2f4ba75a017e914f472fed453b4 /common/dispatch.c
parent52d75293ab7287df2da2a026565c48158acb9e14 (diff)
downloadisc-dhcp-b304ef6ad959bc29be98a10428af958489565f4a.tar.gz
Don't flame about missing interfaces if none were requested
Diffstat (limited to 'common/dispatch.c')
-rw-r--r--common/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dispatch.c b/common/dispatch.c
index 15927b50..979ea088 100644
--- a/common/dispatch.c
+++ b/common/dispatch.c
@@ -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;