mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
build: fix gcc-4.4.0 build failures (FSCORE-355)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -549,7 +549,8 @@ SWITCH_DECLARE(switch_status_t) switch_stun_lookup(char **ip,
|
||||
case SWITCH_STUN_ATTR_MAPPED_ADDRESS:
|
||||
if (attr->type) {
|
||||
if (funny) {
|
||||
((switch_stun_ip_t *) attr->value)->address ^= ntohl(0xabcdabcd);
|
||||
switch_stun_ip_t *tmp = (switch_stun_ip_t *)attr->value;
|
||||
tmp->address ^= ntohl(0xabcdabcd);
|
||||
}
|
||||
switch_stun_packet_attribute_get_mapped_address(attr, rip, &rport);
|
||||
}
|
||||
|
Reference in New Issue
Block a user