From e7378b9f9b122e05baebce387fe9c3844c0736b6 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 23 Oct 2024 15:21:09 -0600 Subject: wip --- libdhcp/dhcp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libdhcp') diff --git a/libdhcp/dhcp.c b/libdhcp/dhcp.c index 77f4b61..e638496 100644 --- a/libdhcp/dhcp.c +++ b/libdhcp/dhcp.c @@ -595,18 +595,11 @@ static int8_t dhcp_check_leasedIP(implements_net_udpsock *sock) { uint8_t tmp; int32_t ret; - /* WIZchip RCR value changed for ARP Timeout count control */ - tmp = getRCR(); - setRCR(0x03); - /* IP conflict detection : ARP request - ARP reply */ /* Broadcasting ARP Request for check the IP conflict using UDP sendto() function */ ret = sendto(sock, "CHECK_IP_CONFLICT", 17, global_lease.addr, 5000); - /* RCR value restore */ - setRCR(tmp); - - if(ret == SOCKERR_TIMEOUT) { + if (ret == SOCKERR_TIMEOUT) { /* UDP send Timeout occurred : allocated IP address is unique, DHCP Success */ debugf("\r\n> Check leased IP - OK"); -- cgit v1.2.3-2-g168b