diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-07-02 18:31:11 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-07-02 18:31:11 +0000 |
commit | 1bb7334fef07a4ef7324e1b5413ea257fb4411a1 (patch) | |
tree | b85830d449ea78cde4a2ee2078f14372feaabacb | |
parent | b30ed551e053ada85518b479bc0cc75a386403f0 (diff) |
Solaris fix
(closes issue #12949)
Reported by: snuffy
Patches:
bug_12949.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/acl.c b/main/acl.c index 9a141a373..d903851ee 100644 --- a/main/acl.c +++ b/main/acl.c @@ -184,7 +184,7 @@ static int get_local_address(struct in_addr *ourip) return -1; } - for (ifr = (struct lifreq *)buf, x = 0; x < ifn.lifn_count; ifr++, x++) { + for (ifr = ifc.lifc_req, x = 0; x < ifn.lifn_count; ifr++, x++) { sa = (struct sockaddr_in *)&(ifr->lifr_addr); score_address(sa, &best_addr, &best_score); res = 0; |