[PATCH] patch to speed up bootpc queries

2002-01-03 Thread Phil
Hi, When rcS_fai tries to get bootp parameters, it does a query on every interface the machine has. This can take a lot of time for nothing. the following patch tries the defaut interface first, and break the loop after the first successfull query. (use the attached file to avoid copy-paste

Re: [PATCH] patch to speed up bootpc queries

2002-01-03 Thread Thomas Lange
On Thu, 3 Jan 2002 16:11:23 +0100 (CET), Phil [EMAIL PROTECTED] said: Hi, When rcS_fai tries to get bootp parameters, it does a query on every interface the machine has. This can take a lot of time for nothing. This could be made much simpler. If the variable $netdevices is

Re: [PATCH] patch to speed up bootpc queries

2002-01-03 Thread Phil
On Thu, 3 Jan 2002, Thomas Lange wrote: On Thu, 3 Jan 2002 16:11:23 +0100 (CET), Phil [EMAIL PROTECTED] said: Hi, When rcS_fai tries to get bootp parameters, it does a query on every interface the machine has. This can take a lot of time for nothing. This could be made

Re: [PATCH] patch to speed up bootpc queries

2002-01-03 Thread Phil
On Thu, 3 Jan 2002, Geert Stappers wrote: Moreover, I don't see why every NIC in $netdevices should query a bootp server. One answered query should be enough. Even a single NIC computer does three(3) BOOTP-requests: - BootROM where to get my kernel-image request - Kernel where to get my

Re: [PATCH] patch to speed up bootpc queries

2002-01-03 Thread Geert Stappers
At 0:51 +0100 1/4/02, Phil wrote: On Thu, 3 Jan 2002, Geert Stappers wrote: Moreover, I don't see why every NIC in $netdevices should query a bootp server. One answered query should be enough. Even a single NIC computer does three(3) BOOTP-requests: - BootROM where to get my kernel-image