From: deraadt Date: Sat, 24 Apr 2021 17:04:24 +0000 (+0000) Subject: remove bgpd warning message exposed by "bgpctl show rib peer out" for X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b6ea2c43c9cb9e5e9f02e64de7a3da40f7fdd5fd;p=openbsd remove bgpd warning message exposed by "bgpctl show rib peer out" for non-existant peer; the bgpctl command exposes the error itself ok claudio --- diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 2fc05f64c52..6a15c895508 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.517 2021/04/16 06:20:29 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.518 2021/04/24 17:04:24 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -2594,8 +2594,6 @@ rde_dump_ctx_new(struct ctl_show_rib_request *req, pid_t pid, peer = peer_match(&req->neighbor, 0); if (peer == NULL) { - log_warnx("%s: no peer found for adj-rib-out", - __func__); error = CTL_RES_NOSUCHPEER; imsg_compose(ibuf_se_ctl, IMSG_CTL_RESULT, 0, pid, -1, &error, sizeof(error));