projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b33129
)
ppp: send PPP_FAIL when authentication fails
author
Kristen Carlson Accardi
<kristen@linux.intel.com>
Thu, 25 Mar 2010 20:04:36 +0000
(13:04 -0700)
committer
Denis Kenzior
<denkenz@gmail.com>
Sat, 27 Mar 2010 04:00:28 +0000
(23:00 -0500)
gatchat/ppp_auth.c
patch
|
blob
|
history
diff --git
a/gatchat/ppp_auth.c
b/gatchat/ppp_auth.c
index
95b2f96
..
fe3c501
100644
(file)
--- 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);
}
/*