fix seg fault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
0a87b55fe8
commit
d0cec3dd99
|
@ -7876,7 +7876,7 @@ static int peer_set_srcaddr(struct iax2_peer *peer, const char *srcaddr)
|
|||
port = IAX_DEFAULT_PORTNO;
|
||||
}
|
||||
|
||||
if (!ast_get_ip(&sin, tmp)) {
|
||||
if (!ast_get_ip(&sin, addr)) {
|
||||
struct ast_netsock *sock;
|
||||
int res;
|
||||
|
||||
|
|
Loading…
Reference in New Issue