mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-06 09:57:43 +02:00
- Fix so that for a configuration line of include: "*.conf" it is not
an error if there are no files matching the glob pattern. git-svn-id: file:///svn/unbound/trunk@2883 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
15 April 2013: Wouter
|
||||
- Fix so that for a configuration line of include: "*.conf" it is not
|
||||
an error if there are no files matching the glob pattern.
|
||||
|
||||
11 April 2013: Wouter
|
||||
- Fix queries leaking up for stubs and forwards, if the configured
|
||||
nameservers all fail to answer.
|
||||
|
||||
+181
-182
File diff suppressed because it is too large
Load Diff
@@ -107,6 +107,8 @@ static void config_start_include_glob(const char* filename)
|
||||
if(r) {
|
||||
/* some error */
|
||||
globfree(&g);
|
||||
if(r == GLOB_NOMATCH)
|
||||
return; /* no matches for pattern */
|
||||
config_start_include(filename); /* let original deal with it */
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user