From 8be52bf3f280d86a9655758a1887266d07e455fc Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 21 Mar 2006 17:49:01 +0000 Subject: Kill debug message that floods the log if ospfctl is killed while dumping large tables. --- usr.sbin/ospfd/control.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c index b832f4657d4..44a65506a71 100644 --- a/usr.sbin/ospfd/control.c +++ b/usr.sbin/ospfd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.13 2006/02/10 18:30:47 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.14 2006/03/21 17:49:00 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -276,10 +276,8 @@ control_imsg_relay(struct imsg *imsg) { struct ctl_conn *c; - if ((c = control_connbypid(imsg->hdr.pid)) == NULL) { - log_debug("control_imsg_relay: no connection pid"); + if ((c = control_connbypid(imsg->hdr.pid)) == NULL) return (0); - } return (imsg_compose(&c->ibuf, imsg->hdr.type, 0, imsg->hdr.pid, imsg->data, imsg->hdr.len - IMSG_HEADER_SIZE)); -- cgit v1.2.3