summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_auth.c')
-rw-r--r--gatchat/ppp_auth.c3
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);
}
/*