From 4b5e867a6921dd5a8862f342c55dd47d639f183c Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sun, 8 Mar 2015 13:57:26 +0100 Subject: [PATCH] PPP: Documentation: replaced deprecated ip_ntoa() to ipaddr_ntoa() --- doc/ppp.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ppp.txt b/doc/ppp.txt index f5ffc0cd..52fa3877 100644 --- a/doc/ppp.txt +++ b/doc/ppp.txt @@ -79,14 +79,14 @@ static void status_cb(ppp_pcb *pcb, int err_code, void *ctx) { #endif /* LWIP_DNS */ printf("status_cb: Connected\n"); #if PPP_IPV4_SUPPORT - printf(" our_ipaddr = %s\n", ip_ntoa(&pppif->ip_addr)); - printf(" his_ipaddr = %s\n", ip_ntoa(&pppif->gw)); - printf(" netmask = %s\n", ip_ntoa(&pppif->netmask)); + printf(" our_ipaddr = %s\n", ipaddr_ntoa(&pppif->ip_addr)); + printf(" his_ipaddr = %s\n", ipaddr_ntoa(&pppif->gw)); + printf(" netmask = %s\n", ipaddr_ntoa(&pppif->netmask)); #if LWIP_DNS ns = dns_getserver(0); - printf(" dns1 = %s\n", ip_ntoa(&ns)); + printf(" dns1 = %s\n", ipaddr_ntoa(&ns)); ns = dns_getserver(1); - printf(" dns2 = %s\n", ip_ntoa(&ns)); + printf(" dns2 = %s\n", ipaddr_ntoa(&ns)); #endif /* LWIP_DNS */ #endif /* PPP_IPV4_SUPPORT */ #if PPP_IPV6_SUPPORT