summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2009-06-24 17:34:32 +0000
committerhenning <henning@openbsd.org>2009-06-24 17:34:32 +0000
commitee20ccfcc94dbae8fc18fffa240bdcf1917ce208 (patch)
tree6c3a21ea99e5370d3872725634b6d94db6d71f5c
parentEven more pci ethernet devices, based on a diff from Brad. (diff)
downloadwireguard-openbsd-ee20ccfcc94dbae8fc18fffa240bdcf1917ce208.tar.xz
wireguard-openbsd-ee20ccfcc94dbae8fc18fffa240bdcf1917ce208.zip
recvmsg ENOENT noncritical too
-rw-r--r--usr.sbin/ntpd/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c
index 93b0ff1758a..807ba8db849 100644
--- a/usr.sbin/ntpd/client.c
+++ b/usr.sbin/ntpd/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.87 2009/06/17 11:52:54 henning Exp $ */
+/* $OpenBSD: client.c,v 1.88 2009/06/24 17:34:32 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -223,7 +223,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime)
if (errno == EHOSTUNREACH || errno == EHOSTDOWN ||
errno == ENETUNREACH || errno == ENETDOWN ||
errno == ECONNREFUSED || errno == EADDRNOTAVAIL ||
- errno == ENOPROTOOPT) {
+ errno == ENOPROTOOPT || errno == ENOENT) {
client_log_error(p, "recvmsg", errno);
set_next(p, error_interval());
return (0);