summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp.c')
-rw-r--r--gatchat/ppp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/ppp.c b/gatchat/ppp.c
index 2399ed44..0b3221bc 100644
--- a/gatchat/ppp.c
+++ b/gatchat/ppp.c
@@ -463,6 +463,7 @@ void ppp_set_auth(GAtPPP *ppp, guint8* auth_data)
switch (proto) {
case CHAP_PROTOCOL:
/* get the algorithm */
+ auth_set_proto(ppp->auth, proto, auth_data[2]);
break;
default:
g_printerr("unknown authentication proto\n");