summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2018-04-24 07:06:50 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2018-04-24 07:06:50 +0000
commita3bd49c6090f549d20b16ae9bb55589bc786ac6b (patch)
tree6e81202491e5b5534c2218dfda3ba9a173e13b35 /sbin
parent3cf30316c91992eedd146cf49b7089ccb6fdb1b9 (diff)
Make dhclient show imsg pipe poll error messages in debug output only.
ok krw@
Diffstat (limited to 'sbin')
-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;
}