shithub: riscv

Download patch

ref: a342e5ac5d5bda2efb66fb9a29d2e7f72aba688d
parent: 3440516e047dc425406fa8060f704361c774439a
author: cinap_lenrek <[email protected]>
date: Tue Jan 27 05:56:56 EST 2015

wpa: do not forward alert tls records, close connection

--- a/sys/src/cmd/aux/wpa.c
+++ b/sys/src/cmd/aux/wpa.c
@@ -797,6 +797,10 @@
 			}
 		}
 
+		/* do not forward alert, close connection */
+		if(w[0] == 21)
+			break;
+
 		/* check if we'r still the tunnel for this connection */
 		if(conn->tunn != tunn)
 			break;