]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Send nak suggesting eap-mschapv2 when using eap-tls (#217)
authorEivind Næss <eivnaes@yahoo.com>
Mon, 4 Jan 2021 22:41:11 +0000 (14:41 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 22:41:11 +0000 (09:41 +1100)
Signed-off-by: Eivind Naess <eivnaes@yahoo.com>
pppd/eap.c

index 0cffa8bf6c40603690f27f06d14c86caa906f25f..79146557bd32116975874f9c68cd222647a7d1f3 100644 (file)
@@ -1951,7 +1951,7 @@ eap_request(eap_state *esp, u_char *inp, int id, int len)
                        break;
 
                default:
-                       eap_send_nak(esp, id, EAPT_TLS);
+                       eap_send_nak(esp, id, EAPT_MSCHAPV2);
                        esp->es_client.ea_using_eaptls = 0;
                        break;
                }