X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..39236c6e673c41db228275375ab7fdb0f837b292:/bsd/netinet/dhcp_options.c diff --git a/bsd/netinet/dhcp_options.c b/bsd/netinet/dhcp_options.c index 1992e3af3..29835c7b9 100644 --- a/bsd/netinet/dhcp_options.c +++ b/bsd/netinet/dhcp_options.c @@ -349,6 +349,7 @@ dhcpol_get(dhcpol_t * list, int tag, int * len_p) else { data = my_realloc(data, data_len, data_len + len); } + FIX ME: test data NULL bcopy(option + DHCP_OPTION_OFFSET, data + data_len, len); data_len += len; } @@ -356,7 +357,7 @@ dhcpol_get(dhcpol_t * list, int tag, int * len_p) *len_p = data_len; return (data); } -#endif 0 +#endif /* * Function: dhcpol_parse_packet