Browse Source

add another non-fatal error for recvfrom; ok henning@

OPENBSD_3_8
dtucker 19 years ago
parent
commit
b5f096de27
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/client.c

+ 2
- 2
src/usr.sbin/ntpd/client.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: client.c,v 1.62 2005/07/05 10:09:12 dtucker Exp $ */
/* $OpenBSD: client.c,v 1.63 2005/07/06 09:54:24 dtucker Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -188,7 +188,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime)
NULL, NULL)) == -1) {
if (errno == EHOSTUNREACH || errno == EHOSTDOWN ||
errno == ENETUNREACH || errno == ENETDOWN ||
errno == ECONNREFUSED) {
errno == ECONNREFUSED || errno == EADDRNOTAVAIL) {
client_log_error(p, "recvfrom", errno);
set_next(p, error_interval());
return (0);


Loading…
Cancel
Save