summaryrefslogtreecommitdiffstats
path: root/gatchat/gsmdial.c
diff options
context:
space:
mode:
authorZhenhua Zhang <zhenhua.zhang@intel.com>2010-06-25 11:19:05 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-06-28 10:19:14 -0500
commit8be0707ab0fc18824edef95ab08041d6f02d93ea (patch)
tree9fe956552873dbaa5c9d2987dc9685a507c31c90 /gatchat/gsmdial.c
parent588db023541fda0b61c162c0a5a2e624bc404bf3 (diff)
downloadofono-8be0707ab0fc18824edef95ab08041d6f02d93ea.tar.bz2
gsmdial: Update to the new API
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r--gatchat/gsmdial.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c
index 62c3b3d4..a69a610c 100644
--- a/gatchat/gsmdial.c
+++ b/gatchat/gsmdial.c
@@ -221,13 +221,14 @@ out:
return FALSE;
}
-static void ppp_connect(const char *iface, const char *ip,
+static void ppp_connect(const char *iface, const char *local, const char *peer,
const char *dns1, const char *dns2,
gpointer user_data)
{
/* print out the negotiated address and dns server */
g_print("Network Device: %s\n", iface);
- g_print("IP Address: %s\n", ip);
+ g_print("IP Address: %s\n", local);
+ g_print("Peer IP Address: %s\n", peer);
g_print("Primary DNS Server: %s\n", dns1);
g_print("Secondary DNS Server: %s\n", dns2);
}