summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index de59c12..6a763fa 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1352,6 +1352,7 @@ int tlslistener(SSL_CTX *ssl_ctx) {
client = find_client('T', (struct sockaddr *)&from, NULL);
if (!client) {
printf("ignoring request, not a known TLS client\n");
+ shutdown(snew, SHUT_RDWR);
close(snew);
continue;
}