Increase time to wait for Ethernet connection
This commit is contained in:
parent
97ae349fbe
commit
4a10c53b1a
1 changed files with 1 additions and 1 deletions
2
nmrp.c
2
nmrp.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue