mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-29 22:20:12 +00:00
resolve conflit, ipcp.c defines ip_ntoa() which is already defined by lwIP, disabled ipcp.c::ip_ntoa() and using lwIP one
This commit is contained in:
parent
d3d1b69c7a
commit
adb8b881b4
@ -58,6 +58,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "pppmy.h"
|
||||
#include "pppd.h"
|
||||
#include "fsm.h"
|
||||
#include "ipcp.h"
|
||||
@ -312,6 +313,7 @@ static void ipcp_clear_addrs __P((int, u_int32_t, u_int32_t, bool));
|
||||
#define CODENAME(x) ((x) == CONFACK ? "ACK" : \
|
||||
(x) == CONFNAK ? "NAK" : "REJ")
|
||||
|
||||
#if 0 /* UNUSED, already defined by lwIP */
|
||||
/*
|
||||
* Make a string representation of a network IP address.
|
||||
*/
|
||||
@ -324,6 +326,7 @@ u_int32_t ipaddr;
|
||||
slprintf(b, sizeof(b), "%I", ipaddr);
|
||||
return b;
|
||||
}
|
||||
#endif /* UNUSED, already defined by lwIP */
|
||||
|
||||
/*
|
||||
* Option parsing.
|
||||
|
@ -92,6 +92,8 @@ extern ipcp_options ipcp_gotoptions[];
|
||||
extern ipcp_options ipcp_allowoptions[];
|
||||
extern ipcp_options ipcp_hisoptions[];
|
||||
|
||||
#if 0 /* UNUSED, already defined by lwIP */
|
||||
char *ip_ntoa __P((u_int32_t));
|
||||
#endif /* UNUSED, already defined by lwIP */
|
||||
|
||||
extern struct protent ipcp_protent;
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <syslog.h> /* FIXME: temporary */
|
||||
|
||||
#include <net/ppp_defs.h> /* FIXME: merge linux/ppp_defs.h content here */
|
||||
|
||||
#include "lwip/netif.h"
|
||||
#include "lwip/def.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user