diff options
Diffstat (limited to 'ldap/servers/plugins/chainingdb/cb_controls.c')
-rw-r--r-- | ldap/servers/plugins/chainingdb/cb_controls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/servers/plugins/chainingdb/cb_controls.c b/ldap/servers/plugins/chainingdb/cb_controls.c index f6b0653a..8416c0a5 100644 --- a/ldap/servers/plugins/chainingdb/cb_controls.c +++ b/ldap/servers/plugins/chainingdb/cb_controls.c @@ -221,7 +221,8 @@ int cb_update_controls( Slapi_PBlock * pb, dCount++; } else - if (!strcmp(reqControls[cCount]->ldctl_oid,CB_LDAP_CONTROL_CHAIN_SERVER)) { + if (!strcmp(reqControls[cCount]->ldctl_oid,CB_LDAP_CONTROL_CHAIN_SERVER) && + reqControls[cCount]->ldctl_value.bv_val) { /* Max hop count reached ? */ /* Checked earlier by a call to cb_forward_operation() */ |