diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-23 15:21:09 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-23 15:21:09 -0600 |
commit | e7378b9f9b122e05baebce387fe9c3844c0736b6 (patch) | |
tree | ce921a21811cb4ded792f61f2d933cf4e8f87a96 /libdhcp | |
parent | 9940877f4bb44bc69fecf7fb5afcf3cbab90f088 (diff) |
wip
Diffstat (limited to 'libdhcp')
-rw-r--r-- | libdhcp/dhcp.c | 9 |
1 files changed, 1 insertions, 8 deletions
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"); |