diff options
author | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 21:04:56 +0000 |
---|---|---|
committer | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 21:04:56 +0000 |
commit | 63754549c02f62ed8305e2892cd4528ff6e11f57 (patch) | |
tree | 10fb4b5ce7045e53a2095e23e9df578b3e00314c /main/srv.c | |
parent | 5237cca0c04054b1be942dc80f46d335ebff23c5 (diff) |
Merged revisions 129156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r129156 | bbryant | 2008-07-08 16:00:01 -0500 (Tue, 08 Jul 2008) | 6 lines
Fix a bug in SRV lookups where dnsmgr would discard everything but the
first SRV result from DNS before processing weights and priorities and
dns_parse_answer wouldn't report that there were no records in DNS
unless a failure occured. Also fixed a bug where dnsmgr_refresh would
report that a entry was being changed when ast_gethostbyname had failed.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129157 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/srv.c')
-rw-r--r-- | main/srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/srv.c b/main/srv.c index 3950e255f..1899e8b8f 100644 --- a/main/srv.c +++ b/main/srv.c @@ -137,7 +137,7 @@ static int srv_callback(void *context, unsigned char *answer, int len, unsigned if (entry) AST_LIST_INSERT_TAIL(&c->entries, entry, list); - return 1; + return 0; } /* Do the bizarre SRV record weight-handling algorithm |