Mercurial > ecos
diff packages/redboot/current/src/net/bootp.c @ 1288:c07ec2765e3e
Fix compile problems if GATEWAY support disabled
| author | gthomas |
|---|---|
| date | Mon, 06 Oct 2003 22:37:51 +0000 |
| parents | 55fbbf4dffb2 |
| children | 7b0dae4bd7a9 |
line wrap: on
line diff
--- a/packages/redboot/current/src/net/bootp.c +++ b/packages/redboot/current/src/net/bootp.c @@ -280,10 +280,10 @@ int optlen = p[1]; p += 2; switch (tag) { +#ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY case TAG_SUBNET_MASK: // subnet mask memcpy(__local_ip_mask,p,4); break; -#ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY case TAG_GATEWAY: // router memcpy(__local_ip_gate,p,4); break;
