diff options
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r-- | gatchat/gatppp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index eb440300..d9ab89ce 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -407,6 +407,14 @@ void ppp_set_auth(GAtPPP *ppp, const guint8* auth_data) } } +void ppp_auth_notify(GAtPPP *ppp, gboolean success) +{ + if (success) + ppp_enter_phase(ppp, PPP_PHASE_NETWORK); + else + ppp_enter_phase(ppp, PPP_PHASE_TERMINATION); +} + void ppp_set_recv_accm(GAtPPP *ppp, guint32 accm) { ppp->recv_accm = accm; |