From f5ef721ebd44b5825036c54fbb51c559201b9149 Mon Sep 17 00:00:00 2001 From: Robin Daermann Date: Wed, 10 Feb 2016 17:53:00 +0100 Subject: [PATCH] Add IP6 address type to valid types for ConnInfo --- src/zm_sdp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_sdp.cpp b/src/zm_sdp.cpp index dbc63a82f..aeefe2577 100644 --- a/src/zm_sdp.cpp +++ b/src/zm_sdp.cpp @@ -112,7 +112,7 @@ SessionDescriptor::ConnInfo::ConnInfo( const std::string &connInfo ) : if ( mNetworkType != "IN" ) throw Exception( "Invalid SDP network type '"+mNetworkType+"' in connection info '"+connInfo+"'" ); mAddressType = tokens[1]; - if ( mAddressType != "IP4" ) + if ( mAddressType != "IP4" && mAddressType != "IP6" ) throw Exception( "Invalid SDP address type '"+mAddressType+"' in connection info '"+connInfo+"'" ); StringVector addressTokens = split( tokens[2], "/" ); if ( addressTokens.size() < 1 )