mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-26 12:24:42 +00:00
import of dnsmasq-2.52.tar.gz
This commit is contained in:
1 parent
1f15b81d61
commit
316e2730ac
43 files changed
+2694
-2033
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* dnsmasq is Copyright (c) 2000-2009 Simon Kelley
|
||||
/* dnsmasq is Copyright (c) 2000-2010 Simon Kelley
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -267,8 +267,13 @@ void my_syslog(int priority, const char *format, ...)
|
||||
else if ((LOG_FACMASK & priority) == MS_DHCP)
|
||||
func = "-dhcp";
|
||||
|
||||
#ifdef LOG_PRI
|
||||
priority = LOG_PRI(priority);
|
||||
|
||||
#else
|
||||
/* Solaris doesn't have LOG_PRI */
|
||||
priority &= LOG_PRIMASK;
|
||||
#endif
|
||||
|
||||
if (log_stderr)
|
||||
{
|
||||
fprintf(stderr, "dnsmasq%s: ", func);
|
||||
|
||||
Reference in new issue
Block a user