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:
Anthony Minessale
2006-04-05 22:46:50 +00:00
parent df621b1a84
commit 650ae09f06
4 changed files with 87 additions and 21 deletions

View File

@@ -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);