mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
Fix calls to ast_get_ip() not initializing the address family.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@346239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1431,6 +1431,7 @@ static struct oh323_user *build_user(const char *name, struct ast_variable *v, s
|
||||
} else {
|
||||
struct ast_sockaddr tmp;
|
||||
|
||||
tmp.ss.ss_family = AF_INET;
|
||||
if (ast_get_ip(&tmp, v->value)) {
|
||||
ASTOBJ_UNREF(user, oh323_destroy_user);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user