Mercurial > nand-ecoscentric
changeset 1207:d29c92c6375a
Default values were wrong for IP & ESA types
| author | gthomas |
|---|---|
| date | Tue, 09 Sep 2003 14:40:20 +0000 |
| parents | 86c98b20917b |
| children | 517229d4051f |
| files | packages/redboot/current/ChangeLog packages/redboot/current/src/flash.c |
| diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog +++ b/packages/redboot/current/ChangeLog @@ -1,3 +1,8 @@ +2003-09-09 Gary Thomas <gary@mlbassoc.com> + + * src/flash.c (flash_config_insert_value): Default values were + wrong for IP & ESA types. + 2003-08-19 Gary Thomas <gary@mlbassoc.com> * src/net/udp.c (__udp_recvfrom): Rework loop so delay only happens
--- a/packages/redboot/current/src/flash.c +++ b/packages/redboot/current/src/flash.c @@ -1988,10 +1988,10 @@ flash_config_insert_value(unsigned char break; #ifdef CYGPKG_REDBOOT_NETWORKING case CONFIG_IP: - memcpy(dp, (void *)&opt->dflt, sizeof(in_addr_t)); + memcpy(dp, (void *)opt->dflt, sizeof(in_addr_t)); break; case CONFIG_ESA: - memcpy(dp, (void *)&opt->dflt, sizeof(enet_addr_t)); + memcpy(dp, (void *)opt->dflt, sizeof(enet_addr_t)); break; #if defined(CYGHWR_NET_DRIVERS) && (CYGHWR_NET_DRIVERS > 1) case CONFIG_NETPORT:
