ppp: send PPP_FAIL when authentication fails

This commit is contained in:
Kristen Carlson Accardi 2010-03-25 13:04:36 -07:00 committed by Denis Kenzior
parent 8b33129bac
commit ee294d35b8
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
/*