]> git.sur5r.net Git - openldap/commitdiff
Set protocol to LDAP_VERSION2 on UDP session.
authorHoward Chu <hyc@openldap.org>
Fri, 28 Sep 2001 00:49:01 +0000 (00:49 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 28 Sep 2001 00:49:01 +0000 (00:49 +0000)
servers/slapd/connection.c

index dc417a4b48da7f61c891cea16a2f8fb525544ea2..31c8b976fdda82887479fa3ceff48b4e79980408 100644 (file)
@@ -479,6 +479,7 @@ long connection_init(
        if (tls_udp_option == 2)
        {
                c->c_is_udp = 1;
+               c->c_protocol = LDAP_VERSION2;
 #ifdef LDAP_DEBUG
        ber_sockbuf_add_io( c->c_sb, &ber_sockbuf_io_debug,
                LBER_SBIOD_LEVEL_PROVIDER, (void*)"udp_" );