summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-02-04 23:28:05 +0000
committerbluhm <bluhm@openbsd.org>2014-02-04 23:28:05 +0000
commitd4e7758518053d6c8814f36b28a857cad911350d (patch)
treefc5b0a75b5f0ff84d2f5437c38d02971a1efd8b2
parentAdd WARN_ONCE. (diff)
downloadwireguard-openbsd-d4e7758518053d6c8814f36b28a857cad911350d.tar.xz
wireguard-openbsd-d4e7758518053d6c8814f36b28a857cad911350d.zip
Remote logging could get stuck after a "network is unreachable"
error occured. Put ENETUNREACH into the list of ignored errors. OK markus@ sthen@ millert@
-rw-r--r--usr.sbin/syslogd/syslogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index b409465d48f..165100ef9a8 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.109 2013/11/24 01:06:18 deraadt Exp $ */
+/* $OpenBSD: syslogd.c,v 1.110 2014/02/04 23:28:05 bluhm Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -907,6 +907,7 @@ fprintlog(struct filed *f, int flags, char *msg)
case EHOSTDOWN:
case EHOSTUNREACH:
case ENETDOWN:
+ case ENETUNREACH:
case ENOBUFS:
/* silently dropped */
break;