Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
openldap2.1135
0008-In-monitor-backend-do-not-return-Connectio...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0008-In-monitor-backend-do-not-return-Connection0-entries.patch of Package openldap2.1135
From d4b247e43fe1ea1b3713f3d8f493422d5adcc537 Mon Sep 17 00:00:00 2001 From: HouzuoGuo <guohouzuo@gmail.com> Date: Fri, 13 Mar 2015 16:14:10 +0100 Subject: [PATCH] In monitor backend, do not return Connection0 entries as they are created for internal use only. --- servers/slapd/back-monitor/conn.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servers/slapd/back-monitor/conn.c b/servers/slapd/back-monitor/conn.c index c1995b0..2d27738 100644 --- a/servers/slapd/back-monitor/conn.c +++ b/servers/slapd/back-monitor/conn.c @@ -454,6 +454,11 @@ monitor_subsys_conn_create( c != NULL; c = connection_next( c, &connindex ) ) { + /* Connection 0 is created by connection_client_setup for internal use only */ + if (c->c_connid == 0) { + continue; + } + monitor_entry_t *mp; if ( conn_create( mi, c, &e, ms ) != SLAP_CB_CONTINUE -- 2.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor