Set sin_family to AF_INET when doing lookups, also reset sin_port the first time...
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 16 Jun 2010 20:34:31 +0000 (20:34 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 16 Jun 2010 20:34:31 +0000 (20:34 +0000)
commit9f1136143bad80bbd8222d8cf5856dbe363a61eb
treec771fc6b934da1b650eda5a9a89dc3551ac546ca
parentfcb055fb4ec3fb5918c03948dee3f1c7b65b31df
Set sin_family to AF_INET when doing lookups, also reset sin_port the first time the ip address changes.

(closes issue #17496)
Reported by: ManChicken

(closes issue #15827)
Reported by: DennisD
Patches:
      dnsmgr_15827.patch uploaded by chappell (license 8)
Tested by: DennisD, gentlec, damage, wimpy

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/acl.c
main/dnsmgr.c