check validity of naming context

This commit is contained in:
Pierangelo Masarati 2004-11-12 12:51:53 +00:00
parent 018526ff14
commit 166f9afa34

View file

@ -188,6 +188,10 @@ monitor_cache_dn2entry(
*matched = NULL;
if ( !dnIsSuffix( ndn, &op->o_bd->be_nsuffix[ 0 ] ) ) {
return( -1 );
}
rc = monitor_cache_get( mi, ndn, ep );
if ( !rc && *ep != NULL ) {
return( 0 );