diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-27 10:56:56 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-27 10:56:56 +0100 |
commit | a342e5ac5d5bda2efb66fb9a29d2e7f72aba688d (patch) | |
tree | ef277e7c7fa89426f47f08d00b9089d721b3b268 /sys/src/cmd/aux/wpa.c | |
parent | 3440516e047dc425406fa8060f704361c774439a (diff) |
wpa: do not forward alert tls records, close connection
Diffstat (limited to 'sys/src/cmd/aux/wpa.c')
-rw-r--r-- | sys/src/cmd/aux/wpa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/aux/wpa.c b/sys/src/cmd/aux/wpa.c index f6f01bf9d..8852b8ad5 100644 --- a/sys/src/cmd/aux/wpa.c +++ b/sys/src/cmd/aux/wpa.c @@ -797,6 +797,10 @@ Reset: } } + /* 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; |