mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 02:57:23 +00:00
fix seg fault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user