summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2018-04-24 07:06:49 +0000
committerstsp <stsp@openbsd.org>2018-04-24 07:06:49 +0000
commitf4e85db691614a72aa3ce57f8dbbddc635407c8d (patch)
tree68f756c977c34d66ab8cf7b9854791ea25a343d8
parentRemove unused rtentry parameter. (diff)
downloadwireguard-openbsd-f4e85db691614a72aa3ce57f8dbbddc635407c8d.tar.xz
wireguard-openbsd-f4e85db691614a72aa3ce57f8dbbddc635407c8d.zip
Make dhclient show imsg pipe poll error messages in debug output only.
ok krw@
-rw-r--r--sbin/dhclient/dispatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index 14303ac4eb8..727292a4a9d 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.150 2018/02/28 22:16:56 krw Exp $ */
+/* $OpenBSD: dispatch.c,v 1.151 2018/04/24 07:06:49 stsp Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -137,17 +137,17 @@ dispatch(struct interface_info *ifi, int routefd)
}
if ((fds[0].revents & (POLLERR | POLLHUP | POLLNVAL)) != 0) {
- log_warnx("%s: bfdesc: ERR|HUP|NVAL", log_procname);
+ log_debug("%s: bfdesc: ERR|HUP|NVAL", log_procname);
quit = INTERNALSIG;
continue;
}
if ((fds[1].revents & (POLLERR | POLLHUP | POLLNVAL)) != 0) {
- log_warnx("%s: routefd: ERR|HUP|NVAL", log_procname);
+ log_debug("%s: routefd: ERR|HUP|NVAL", log_procname);
quit = INTERNALSIG;
continue;
}
if ((fds[2].revents & (POLLERR | POLLHUP | POLLNVAL)) != 0) {
- log_warnx("%s: unpriv_ibuf: ERR|HUP|NVAL", log_procname);
+ log_debug("%s: unpriv_ibuf: ERR|HUP|NVAL", log_procname);
quit = INTERNALSIG;
continue;
}