artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d9031
)
remove bgpd warning message exposed by "bgpctl show rib peer out" for
author
deraadt
<deraadt@openbsd.org>
Sat, 24 Apr 2021 17:04:24 +0000
(17:04 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 24 Apr 2021 17:04:24 +0000
(17:04 +0000)
non-existant peer; the bgpctl command exposes the error itself
ok claudio
usr.sbin/bgpd/rde.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/rde.c
b/usr.sbin/bgpd/rde.c
index
2fc05f6
..
6a15c89
100644
(file)
--- a/
usr.sbin/bgpd/rde.c
+++ b/
usr.sbin/bgpd/rde.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rde.c,v 1.51
7 2021/04/16 06:20:29 claudio
Exp $ */
+/* $OpenBSD: rde.c,v 1.51
8 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));