[svn-commits] russell: branch 1.6.0 r164275 - in /branches/1.6.0: ./ pbx/pbx_dundi.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Dec 15 10:19:01 CST 2008
Author: russell
Date: Mon Dec 15 10:19:00 2008
New Revision: 164275
URL: http://svn.digium.com/view/asterisk?view=rev&rev=164275
Log:
Merged revisions 164272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r164272 | russell | 2008-12-15 10:17:55 -0600 (Mon, 15 Dec 2008) | 8 lines
When a reload is issued, always process the configuration for dundi.conf.
The reason is that a reload can be used to refresh DNS lookups for defined peers.
Even if the config file hasn't changed, we want to process it for that purpose.
(closes issue #13776)
Reported by: kombjuder
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/pbx/pbx_dundi.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/pbx/pbx_dundi.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/pbx/pbx_dundi.c?view=diff&rev=164275&r1=164274&r2=164275
==============================================================================
--- branches/1.6.0/pbx/pbx_dundi.c (original)
+++ branches/1.6.0/pbx/pbx_dundi.c Mon Dec 15 10:19:00 2008
@@ -4681,7 +4681,7 @@
struct ast_variable *v;
char *cat;
int x;
- struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
+ struct ast_flags config_flags = { 0 };
char hn[MAXHOSTNAMELEN] = "";
struct ast_hostent he;
struct hostent *hp;
@@ -4693,8 +4693,7 @@
if (!(cfg = ast_config_load(config_file, config_flags))) {
ast_log(LOG_ERROR, "Unable to load config %s\n", config_file);
return -1;
- } else if (cfg == CONFIG_STATUS_FILEUNCHANGED)
- return 0;
+ }
dundi_ttl = DUNDI_DEFAULT_TTL;
dundi_cache_time = DUNDI_DEFAULT_CACHE_TIME;
More information about the svn-commits
mailing list