summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-13 14:59:13 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-13 14:59:13 -0500
commit1d939052fcf8c1c37d3f2374efcbe254f0d93d34 (patch)
tree0e1dc2203089925bd58bd331913ba543f82c0dcd /gatchat/gatppp.c
parentd1d73a75fc46e9ea88d4daf5c9223e8d9268c305 (diff)
downloadofono-1d939052fcf8c1c37d3f2374efcbe254f0d93d34.tar.bz2
ppp: Introduce ppp_net_down_notify
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index c49223ff..dc26f29c 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -418,6 +418,11 @@ void ppp_net_up_notify(GAtPPP *ppp, const char *ip,
ip, dns1, dns2, ppp->connect_data);
}
+void ppp_net_down_notify(GAtPPP *ppp)
+{
+ ppp_net_close(ppp->net);
+}
+
void ppp_set_recv_accm(GAtPPP *ppp, guint32 accm)
{
ppp->recv_accm = accm;