diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-03-25 13:04:36 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-03-26 23:00:28 -0500 |
commit | ee294d35b853a19669c91cc6e2fa932256d1a6ae (patch) | |
tree | 4b000f8c1d51700ad508fd9b4acf0e22f335caa9 /gatchat/ppp_auth.c | |
parent | 8b33129bacc2747663930847cb20f4d722622dff (diff) | |
download | ofono-ee294d35b853a19669c91cc6e2fa932256d1a6ae.tar.bz2 |
ppp: send PPP_FAIL when authentication fails
Diffstat (limited to 'gatchat/ppp_auth.c')
-rw-r--r-- | gatchat/ppp_auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/ppp_auth.c b/gatchat/ppp_auth.c index 95b2f96b..fe3c501e 100644 --- a/gatchat/ppp_auth.c +++ b/gatchat/ppp_auth.c @@ -128,7 +128,8 @@ static void chap_process_failure(struct auth_data *data, guint8 *packet) { struct chap_header *header = (struct chap_header *) packet; - g_print("Failed to authenticate, message %s\n", header->data); + ppp_generate_event(data->ppp, PPP_FAIL); + g_printerr("Failed to authenticate, message %s\n", header->data); } /* |