mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
let sip have stun and make suncc happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1054 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
df621b1a84
commit
650ae09f06
4 files changed
+87
-21
No files matched your search
@@ -121,7 +121,6 @@ SWITCH_DECLARE(switch_stun_packet_t *)switch_stun_packet_parse(uint8_t *buf, uin
|
||||
packet = (switch_stun_packet_t *) buf;
|
||||
packet->header.type = ntohs(packet->header.type);
|
||||
packet->header.length = ntohs(packet->header.length);
|
||||
attr = &packet->first_attribute;
|
||||
switch_stun_packet_first_attribute(packet, attr);
|
||||
do {
|
||||
attr->length = ntohs(attr->length);
|
||||
|
||||
Reference in new issue
Block a user