]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
return 1 for "done" instead of "error"
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 21:41:12 +0000 (17:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 21:41:12 +0000 (17:41 -0400)
src/main/tls_listen.c

index a9b2b181e03ab5544e96b0b892c3de8bccaf9808..0c4cc934d472b7c0e53ef2b8631ea44e74d3e44b 100644 (file)
@@ -294,7 +294,8 @@ static int proxy_protocol_check(rad_listen_t *listener, REQUEST *request)
         *      It's no longer a PROXY protocol, but just straight TLS.
         */
        listener->proxy_protocol = false;
-       return 0;
+
+       return 1;
 }
 
 static int tls_socket_recv(rad_listen_t *listener)