summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-04-27 15:34:19 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-04-27 15:34:19 +0000
commit027e0fd33bd7fe97d584feeba5c8d50f320dc9de (patch)
treeccb26de51d350527b93a82415e1604525effca08 /usr.sbin/bgpd
parentfd153ed6b2bc9861c9afef595c4aa8384fb90f3e (diff)
Add IMSG_CTL_SHOW_RTR to the list of restriced control messages.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/control.c b/usr.sbin/bgpd/control.c
index 1e7bbda3b9d..844a05e5b25 100644
--- a/usr.sbin/bgpd/control.c
+++ b/usr.sbin/bgpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.104 2021/02/16 08:29:16 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.105 2021/04/27 15:34:18 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -281,6 +281,7 @@ control_dispatch_msg(struct pollfd *pfd, struct peer_head *peers)
case IMSG_CTL_SHOW_RIB:
case IMSG_CTL_SHOW_RIB_PREFIX:
case IMSG_CTL_SHOW_SET:
+ case IMSG_CTL_SHOW_RTR:
break;
default:
/* clear imsg type to prevent processing */