Mercurial > flash_v2
comparison packages/redboot/current/src/net/bootp.c @ 1063:e54a552c19f9
* src/net/bootp.c: Use correct DHCP message type for DHCPREQUEST.
| author | jlarmour |
|---|---|
| date | Mon, 23 Jun 2003 23:42:15 +0000 |
| parents | 38dad94e75ce |
| children | c461c509e6ef |
comparison
equal
deleted
inserted
replaced
| 1062:e8b69d9c90a6 | 1063:e54a552c19f9 |
|---|---|
| 68 static bootp_header_t *bp_info; | 68 static bootp_header_t *bp_info; |
| 69 | 69 |
| 70 #ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY | 70 #ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY |
| 71 static const unsigned char dhcpCookie[] = {99,130,83,99}; | 71 static const unsigned char dhcpCookie[] = {99,130,83,99}; |
| 72 static const unsigned char dhcpEndOption[] = {255}; | 72 static const unsigned char dhcpEndOption[] = {255}; |
| 73 static const unsigned char dhcpRequestOption[] = {52,1,3}; | 73 static const unsigned char dhcpRequestOption[] = {53,1,3}; |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 static void | 76 static void |
| 77 bootp_handler(udp_socket_t *skt, char *buf, int len, | 77 bootp_handler(udp_socket_t *skt, char *buf, int len, |
| 78 ip_route_t *src_route, word src_port) | 78 ip_route_t *src_route, word src_port) |
