diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-21 17:49:01 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-21 17:49:01 +0000 |
commit | 8be52bf3f280d86a9655758a1887266d07e455fc (patch) | |
tree | ff298fd960dbcbcb57cfeaf1e03bb77a2157f952 | |
parent | 4793be907bc8d6a62ccb99ee6b87f75aaac7aae2 (diff) |
Kill debug message that floods the log if ospfctl is killed while dumping
large tables.
-rw-r--r-- | usr.sbin/ospfd/control.c | 6 |
1 files 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 <henning@openbsd.org> @@ -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)); |