diff --git a/CHANGES b/CHANGES index 1d1e4081ad..dd808acca5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ + 821. [bug] The program name used when logging to syslog should + be stripped of leading path components. + [RT #1178, #1232] + 820. [bug] Name server address lookups failed to follow A6 chains into the glue of local authoritative zones. diff --git a/bin/named/unix/os.c b/bin/named/unix/os.c index 14888be002..901aacd549 100644 --- a/bin/named/unix/os.c +++ b/bin/named/unix/os.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: os.c,v 1.42 2001/04/04 21:45:29 bwelling Exp $ */ +/* $Id: os.c,v 1.43 2001/05/03 19:06:23 bwelling Exp $ */ #include #include @@ -32,6 +32,7 @@ #include #include +#include #include #include #include @@ -260,7 +261,7 @@ setup_syslog(const char *progname) { options |= LOG_NDELAY; #endif - openlog(progname, options, LOG_DAEMON); + openlog(isc_file_basename(progname), options, LOG_DAEMON); } void