From: Howard Chu Date: Fri, 28 Sep 2001 00:49:01 +0000 (+0000) Subject: Set protocol to LDAP_VERSION2 on UDP session. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1042 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=926b4547653668c1041b90b8562672b7e0af8475;p=openldap Set protocol to LDAP_VERSION2 on UDP session. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index dc417a4b48..31c8b976fd 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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_" );