mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- fix bug #491: pick program name (0th argument) as syslog identity.
git-svn-id: file:///svn/unbound/trunk@2885 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ce0d35d6ae
commit
f556664960
2 changed files with 4 additions and 0 deletions
|
|
@ -714,6 +714,7 @@ main(int argc, char* argv[])
|
|||
#endif
|
||||
|
||||
log_init(NULL, 0, NULL);
|
||||
log_ident_set(strrchr(argv[0],'/')?strrchr(argv[0],'/')+1:argv[0]);
|
||||
/* parse the options */
|
||||
while( (c=getopt(argc, argv, "c:dhvw:")) != -1) {
|
||||
switch(c) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
18 April 2013: Wouter
|
||||
- fix bug #491: pick program name (0th argument) as syslog identity.
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue