mirror of git://git.sysmocom.de/ofono
gsmdial: Update to the new API
This commit is contained in:
parent
588db02354
commit
8be0707ab0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue