mirror of git://git.sysmocom.de/ofono
ppp: send PPP_FAIL when authentication fails
This commit is contained in:
parent
8b33129bac
commit
ee294d35b8
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue