]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/modify.c
Set peeraddr also for IPv6, fixes ITS#1918
[openldap] / servers / slapd / back-monitor / modify.c
index faf38b73fd8b46ec3e776cb1691085b6cbe9616f..de6485d2d2b7cacf86d0a0f1c600a6763c78d5d8 100644 (file)
@@ -1,12 +1,9 @@
 /* modify.c - monitor backend modify routine */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
- * Copyright 2001 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
- * 
  * Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
  * 
  * This work has beed deveolped for the OpenLDAP Foundation 
@@ -68,7 +65,7 @@ monitor_back_modify(
 #endif
 
        /* acquire and lock entry */
-       monitor_cache_dn2entry( mi, ndn->bv_val, &e, &matched );
+       monitor_cache_dn2entry( mi, ndn, &e, &matched );
        if ( e == NULL ) {
                send_ldap_result( conn, op, LDAP_NO_SUCH_OBJECT,
                                matched ? matched->e_dn : NULL,