mgcp_client: Allow submitting and parsing IPv6 addr in SDP

Existing mgcp_client_test code required the '.' to trigger the same code
path, since with this commit we do extra checks and without a dot the
address is not accepted as IPv4 by osmo_ip_str_type().

Change-Id: I936bf57d37f5f0607dfe7fc66c37e424c3793f9b
diff --git a/tests/mgcp_client/mgcp_client_test.ok b/tests/mgcp_client/mgcp_client_test.ok
index 2b03ba1..039fbd9 100644
--- a/tests/mgcp_client/mgcp_client_test.ok
+++ b/tests/mgcp_client/mgcp_client_test.ok
@@ -109,6 +109,20 @@
 X-Osmux: 2

 
 Overfolow test:
+IPv6 test:
+MDCX 19 23@mgw MGCP 1.0

+C: 2f

+I: 11

+M: sendrecv

+

+v=0

+o=- 2f 23 IN IP6 ::1

+s=-

+c=IN IP6 2001:db8:1::ab9:c0a8:102

+t=0 0

+m=audio 1234 RTP/AVP 3

+a=ptime:20

+
 
 
 test_mgcp_client_cancel():
@@ -149,6 +163,24 @@
 test_sdp_section_start() test [8]:
 
 test_sdp_section_start() test [9]:
+
+test_sdp_section_start() test [10]:
+
+test_sdp_section_start() test [11]:
+
+test_sdp_section_start() test [12]:
+
+test_sdp_section_start() test [13]:
+
+test_sdp_section_start() test [14]:
+
+test_sdp_section_start() test [15]:
+
+test_sdp_section_start() test [16]:
+
+test_sdp_section_start() test [17]:
+
+test_sdp_section_start() test [18]:
  110 => 96
  111 => 97
  112 => 98