This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
[patch] fix redboot dhcp problem
- From: jeroen dobbelaere <jeroen dot dobbelaere at acunia dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 18 Jun 2003 16:32:02 +0200
- Subject: [patch] fix redboot dhcp problem
- Organization: ACUNIA
This patch fixes a problem I've encountered when trying to configure
with dhcp.
It is agains eCos v2.0
Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer
ACUNIA Embedded Solutions
http://www.acunia.com/aes
--- ecos-2.0-original/packages/redboot/current/src/net/bootp.c Thu Oct 24 20:32:26 2002
+++ ecos/packages/redboot/current/src/net/bootp.c Wed Jun 18 15:42:13 2003
@@ -70,7 +70,7 @@
#ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY
static const unsigned char dhcpCookie[] = {99,130,83,99};
static const unsigned char dhcpEndOption[] = {255};
-static const unsigned char dhcpRequestOption[] = {52,1,3};
+static const unsigned char dhcpRequestOption[] = {53,1,1};
#endif
static void