Made dhcp.c standard conform