summaryrefslogtreecommitdiff
path: root/pppd/eap.c
diff options
context:
space:
mode:
authorEivind Næss <eivnaes@yahoo.com>2021-01-04 14:41:11 -0800
committerGitHub <noreply@github.com>2021-01-05 09:41:11 +1100
commitc8309c24f8e6dd13b9494c636b2def3b2866e438 (patch)
tree7b0616244311222c29c6861d30038f7cc66a5397 /pppd/eap.c
parent16b0e0b2a8e3aa39b5e37486f5e9e3607b6649b7 (diff)
downloadppp-c8309c24f8e6dd13b9494c636b2def3b2866e438.tar.gz
pppd: Send nak suggesting eap-mschapv2 when using eap-tls (#217)
Signed-off-by: Eivind Naess <eivnaes@yahoo.com>
Diffstat (limited to 'pppd/eap.c')
-rw-r--r--pppd/eap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pppd/eap.c b/pppd/eap.c
index 0cffa8b..7914655 100644
--- a/pppd/eap.c
+++ b/pppd/eap.c
@@ -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;
}