changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: wpa: do not forward alert tls records, close connection

changeset 4229: 1afc89787f72
parent 4228: fc8b053ff8a9
child 4230: 772adc4423b0
author: cinap_lenrek@felloff.net
date: Tue, 27 Jan 2015 10:56:56 +0100
files: sys/src/cmd/aux/wpa.c
description: wpa: do not forward alert tls records, close connection
     1.1--- a/sys/src/cmd/aux/wpa.c
     1.2+++ b/sys/src/cmd/aux/wpa.c
     1.3@@ -797,6 +797,10 @@ Reset:
     1.4 			}
     1.5 		}
     1.6 
     1.7+		/* do not forward alert, close connection */
     1.8+		if(w[0] == 21)
     1.9+			break;
    1.10+
    1.11 		/* check if we'r still the tunnel for this connection */
    1.12 		if(conn->tunn != tunn)
    1.13 			break;