mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:56:00 +00:00
Don't try to discover if we didn't find any interfaces we like. When we get
PnP, we'll need to do discover when the first interface appears. svn path=/trunk/; revision=14751
This commit is contained in:
parent
e8c40d4eee
commit
18ac7f07b6
1 changed files with 9 additions and 5 deletions
|
@ -161,12 +161,16 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
DH_DbgPrint(MID_TRACE,("Discover Interfaces\n"));
|
DH_DbgPrint(MID_TRACE,("Discover Interfaces\n"));
|
||||||
|
|
||||||
/* set up the interface */
|
/* If no adapters were found, just idle for now ... If any show up,
|
||||||
discover_interfaces(ifi);
|
* then we'll start it later */
|
||||||
|
if( ifi ) {
|
||||||
|
/* set up the interface */
|
||||||
|
discover_interfaces(ifi);
|
||||||
|
|
||||||
DH_DbgPrint
|
DH_DbgPrint
|
||||||
(MID_TRACE,
|
(MID_TRACE,
|
||||||
("Setting init state and restarting interface %p\n",ifi));
|
("Setting init state and restarting interface %p\n",ifi));
|
||||||
|
}
|
||||||
|
|
||||||
bootp_packet_handler = do_packet;
|
bootp_packet_handler = do_packet;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue