minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip by
Diff: core/dhcp.c
- Revision:
- 10:42a34d63b218
- Parent:
- 6:00bf89892c76
- Child:
- 11:4b3f6f8b92d2
--- a/core/dhcp.c Fri Mar 01 15:35:46 2013 +0000 +++ b/core/dhcp.c Thu May 30 17:11:58 2013 +0100 @@ -115,7 +115,7 @@ #define DHCP_OPTION_IDX_T2 5 #define DHCP_OPTION_IDX_SUBNET_MASK 6 #define DHCP_OPTION_IDX_ROUTER 7 -#define DHCP_OPTION_IDX_DNS_SERVER 8 +#define DHCP_OPTION_IDX_DNS_SERVER 8 #define DHCP_OPTION_IDX_MAX (DHCP_OPTION_IDX_DNS_SERVER + DNS_MAX_SERVERS) /** Holds the decoded option values, only valid while in dhcp_recv.