projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Stop trying to find more adapters if it failed to avoid spamming the debug log
[reactos.git]
/
reactos
/
base
/
services
/
dhcp
/
dispatch.c
diff --git
a/reactos/base/services/dhcp/dispatch.c
b/reactos/base/services/dhcp/dispatch.c
index
3839c20
..
76ac90e
100644
(file)
--- a/
reactos/base/services/dhcp/dispatch.c
+++ b/
reactos/base/services/dhcp/dispatch.c
@@
-77,7
+77,10
@@
dispatch(void)
* a timeout registered, time out the select call then.
*/
another:
- AdapterDiscover();
+ if (!AdapterDiscover()) {
+ AdapterStop();
+ break;
+ }
for (l = protocols, nfds = 0; l; l = l->next)
nfds++;