Changeset 5469
- Timestamp:
- Oct 24, 2016 7:20:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/turn_session.c
r5380 r5469 771 771 } 772 772 773 /* Include ADDRESS-FAMILY for IPv6 request */ 774 if (sess->af == pj_AF_INET6()) { 775 enum { IPV6_AF_TYPE = 0x02 << 24 }; 776 pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, 777 PJ_STUN_ATTR_REQ_ADDR_TYPE, IPV6_AF_TYPE); 778 } 779 773 780 /* Server address must be set */ 774 781 pj_assert(sess->srv_addr != NULL); … … 1354 1361 if (raddr_attr && raddr_attr->sockaddr.addr.sa_family != sess->af) { 1355 1362 on_session_fail(sess, method, PJNATH_EINSTUNMSG, 1356 pj_cstr(&s, "Error: RELAY-ADDRESS with non IPv4" 1357 " address family is not supported " 1358 "for now")); 1363 pj_cstr(&s, "Error: Mismatched RELAY-ADDRESS " 1364 "address family")); 1359 1365 return; 1360 1366 }
Note: See TracChangeset
for help on using the changeset viewer.