diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-04-24 17:04:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-04-24 17:04:25 +0000 |
commit | 758bba9301e2be9a80c721efe09a4bad18804281 (patch) | |
tree | 85e70dcc35ee40f95ddebc01565ed7973a5c81cf /usr.sbin/bgpd | |
parent | 7bb2ee5f889b3c07c0ced712b1a7988151a6e94d (diff) |
remove bgpd warning message exposed by "bgpctl show rib peer out" for
non-existant peer; the bgpctl command exposes the error itself
ok claudio
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <henning@openbsd.org> @@ -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)); |