altcp: added altcp_get_port()

This commit is contained in:
goldsimon
2017-03-30 14:19:31 +02:00
parent 4a7569fc2d
commit 51dbd1a7c0
5 changed files with 42 additions and 2 deletions

View File

@@ -944,7 +944,8 @@ const struct altcp_functions altcp_mbedtls_functions = {
altcp_default_setprio,
altcp_mbedtls_dealloc,
altcp_default_get_tcp_addrinfo,
altcp_default_get_ip
altcp_default_get_ip,
altcp_default_get_port
#ifdef LWIP_DEBUG
,altcp_default_dbg_get_tcp_state
#endif