Use NMRP_ETH_TIMEOUT_S constant for Ethernet socket timeout
This commit is contained in:
parent
25945b162d
commit
c85b503131
1 changed files with 1 additions and 1 deletions
2
nmrp.c
2
nmrp.c
|
@ -540,7 +540,7 @@ int nmrp_do(struct nmrpd_args *args)
|
|||
}
|
||||
}
|
||||
|
||||
if (ethsock_set_timeout(sock, 20)) {
|
||||
if (ethsock_set_timeout(sock, NMRP_ETH_TIMEOUT_S)) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue