From a3bd49c6090f549d20b16ae9bb55589bc786ac6b Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Tue, 24 Apr 2018 07:06:50 +0000 Subject: Make dhclient show imsg pipe poll error messages in debug output only. ok krw@ --- sbin/dhclient/dispatch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin') 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 @@ -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; } -- cgit v1.2.3