This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: DHCP w/ Win2K server?
- From: Hugo Tyson <hmt at redhat dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: 30 Nov 2001 10:51:32 +0000
- Subject: Re: [ECOS] DHCP w/ Win2K server?
- References: <D8DFF0AFE792914996F997E68FEC3A48F4C7@bunker.iobjects.com>
- Reply-to: <ecos-discuss at sources dot redhat dot com>
"Dan Conti" <danc@iobjects.com> writes:
> Unfortunately my eCos version is a bit outdated at this point, so if i
> gave you a patch it almost certainly wouldn't apply properly.
OK, I'll get something together for the trunk.
I believe it will be good to add that tag to all *FOUR* places DHCP sends a
packet, DHCPSTATE_REQUESTING, RENEWING, REBINDING and the initial broadcast
one in INIT. 'Course I'll test it, but only with LINUX dhcpd. Comments?
I'll place a patch which should be good for anoncvs here.
- Huge
> > -----Original Message-----
> > From: Hugo Tyson [mailto:hmt@redhat.com]
> > Sent: Thursday, November 29, 2001 10:17 AM
> > To: ecos-discuss@sources.redhat.com; hmt@redhat.com
> > Subject: Re: [ECOS] DHCP w/ Win2K server?
> >=20
> >=20
> >=20
> > "Dan Conti" <danc@iobjects.com> writes:
> > > Sorry, you will need to add a similar line for the RENEWING and
> > > REBINDING cases in dhcp.
> >=20
> > > In net/tcpip/current/src/lib/dhcp_prot.c, around line 596 (in case
> > > DHCPSTATE_REQUESTING), try adding the following line:
> > >
> > > set_fixed_tag( xmit, TAG_DHCP_PARM_REQ_LIST,=20
> > TAG_GATEWAY, 1 );
> > >
> > > to add the gateway request to the DHCP packet.=20
> >=20
> > Thanks folks. Shall I see to it and post a patch or will one=20
> > of you come
> > up with a complete patch including ChangeLog? =20
> >=20
> > - Huge