Increase time to wait for Ethernet connection

This commit is contained in:
Eric Shu 2024-11-10 11:39:12 -08:00
parent 97ae349fbe
commit 4a10c53b1a

2
nmrp.c
View file

@ -497,7 +497,7 @@ int nmrp_do(struct nmrpd_args *args)
bool unplugged = true;
time_t beg = time_monotonic();
while (!g_interrupted && (time_monotonic() - beg) < 20) {
while (!g_interrupted && (time_monotonic() - beg) < 60) {
if (!ethsock_is_unplugged(sock)) {
unplugged = false;
break;