Change in osmo-bsc[master]: Allow storing IPv6 address strings in BSSAP structs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Aug 29 07:54:02 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/19882 )

Change subject: Allow storing IPv6 address strings in BSSAP structs
......................................................................

Allow storing IPv6 address strings in BSSAP structs

Related: SYS#4915
Change-Id: I95601f24e3c658aab328e1c55dc514f553c297b8
---
M include/osmocom/bsc/gsm_data.h
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 1a4a1c4..120c4a4 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -117,7 +117,7 @@
 
 	uint16_t msc_assigned_cic;
 
-	char msc_rtp_addr[INET_ADDRSTRLEN];
+	char msc_rtp_addr[INET6_ADDRSTRLEN];
 	uint16_t msc_rtp_port;
 	bool use_osmux;
 	uint8_t osmux_cid;
@@ -192,7 +192,7 @@
 	struct gsm0808_cell_id cell_id_target;
 	char cell_id_target_name[64];
 	uint16_t msc_assigned_cic;
-	char msc_assigned_rtp_addr[INET_ADDRSTRLEN];
+	char msc_assigned_rtp_addr[INET6_ADDRSTRLEN];
 	uint16_t msc_assigned_rtp_port;
 };
 
@@ -277,7 +277,7 @@
 		uint16_t msc_assigned_cic;
 
 		/* RTP address where the MSC expects us to send the RTP stream coming from the BTS. */
-		char msc_assigned_rtp_addr[INET_ADDRSTRLEN];
+		char msc_assigned_rtp_addr[INET6_ADDRSTRLEN];
 		uint16_t msc_assigned_rtp_port;
 
 		/* The endpoint at the MGW used to join both BTS and MSC side connections, e.g.

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/19882
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I95601f24e3c658aab328e1c55dc514f553c297b8
Gerrit-Change-Number: 19882
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200829/2044f426/attachment.htm>


More information about the gerrit-log mailing list