commit | 8667d5169df8d06e10ee3f3104e4cd533d15ac57 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Aug 28 19:37:08 2020 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Mon Aug 31 17:10:08 2020 +0200 |
tree | acc05df8e110ca936a585ae894aba88ae210c3d8 | |
parent | 1add5a53cb100a337d32f05d904ae363714d5f0d [diff] [blame] |
mgcp_client: Use INET6_ADDRSTRLEN to store addresses in str format Warning: This breaks libosmo-mgcp-cli ABI! Related: SYS#4915 Change-Id: Ib778e9a72764103b52a462ea3c7fb56b23c1bcd6
diff --git a/include/osmocom/mgcp_client/mgcp_client_fsm.h b/include/osmocom/mgcp_client/mgcp_client_fsm.h index a1ebbb6..e315753 100644 --- a/include/osmocom/mgcp_client/mgcp_client_fsm.h +++ b/include/osmocom/mgcp_client/mgcp_client_fsm.h
@@ -15,7 +15,7 @@ * sure it is correct. */ struct mgcp_conn_peer { /*! RTP connection IP-Address (optional, string e.g. "127.0.0.1") */ - char addr[INET_ADDRSTRLEN]; + char addr[INET6_ADDRSTRLEN]; /*! RTP connection IP-Port (optional) */ uint16_t port;