altcp: added raw tcp fallback for altcp_get_ip() #if !LWIP_ALTCP

This commit is contained in:
goldsimon 2017-03-26 22:29:18 +02:00
parent 425b2dda61
commit 596bddac47

View File

@ -160,6 +160,7 @@ enum tcp_state altcp_dbg_get_tcp_state(struct altcp_pcb *conn);
#define altcp_setprio tcp_setprio #define altcp_setprio tcp_setprio
#define altcp_get_tcp_addrinfo tcp_get_tcp_addrinfo #define altcp_get_tcp_addrinfo tcp_get_tcp_addrinfo
#define altcp_get_ip(pcb, local) ((local) ? (&(pcb)->local_ip) : (&(pcb)->remote_ip))
#ifdef LWIP_DEBUG #ifdef LWIP_DEBUG
#define altcp_dbg_get_tcp_state tcp_dbg_get_tcp_state #define altcp_dbg_get_tcp_state tcp_dbg_get_tcp_state