mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
make sofia set network_addr as the address the packet was actually received from, not the address from the uri.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4169 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+1
-2
@@ -36,7 +36,6 @@
|
||||
#ifndef WIN32
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
static char *get_addr(char *buf, switch_size_t len, struct in_addr *in);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_find_local_ip(char *buf, int len, int family)
|
||||
{
|
||||
@@ -348,7 +347,7 @@ SWITCH_DECLARE(char *) switch_priority_name(switch_priority_t priority)
|
||||
|
||||
static char RFC2833_CHARS[] = "0123456789*#ABCDF";
|
||||
|
||||
static char *get_addr(char *buf, switch_size_t len, struct in_addr *in)
|
||||
SWITCH_DECLARE(char *) get_addr(char *buf, switch_size_t len, struct in_addr *in)
|
||||
{
|
||||
uint8_t x, *i;
|
||||
char *p = buf;
|
||||
|
||||
Reference in New Issue
Block a user