Let tcpd retry on errors.
This commit is contained in:
parent
50d805144c
commit
36fa006cec
1 changed files with 2 additions and 0 deletions
|
@ -173,10 +173,12 @@ int main(int argc, char **argv)
|
|||
while (1) {
|
||||
if ((tcp_fd= open(tcp_device, O_RDWR)) < 0) {
|
||||
report(tcp_device);
|
||||
#if 0
|
||||
if (errno == ENOENT || errno == ENODEV
|
||||
|| errno == ENXIO) {
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue