]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/filterindex.c
Set peeraddr also for IPv6, fixes ITS#1918
[openldap] / servers / slapd / back-ldbm / filterindex.c
index 58c8e268ab5239bbfcd70a07c9e15ae543eb6f81..bc370f239b6916d167899796e692ca9e6c52cf62 100644 (file)
@@ -187,6 +187,18 @@ filter_candidates(
                 */
                result = idl_allids( be );
                break;
+       default:
+#ifdef NEW_LOGGING
+               LDAP_LOG(( "filter", LDAP_LEVEL_DETAIL1,
+                          "filter_candidates:  UNKNOWN\n" ));
+#else
+               Debug( LDAP_DEBUG_FILTER, "\tUNKNOWN\n", 0, 0, 0 );
+#endif
+               /* unknown filters must not return NULL, to allow
+                * extended filter processing to be done later.
+                */
+               result = idl_allids( be );
+               break;
        }
 
 #ifdef NEW_LOGGING