2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

- A new common (server or client) option, 'db-time-format local;', has

been added which prints the local time in /var/db/dhcpd.leases rather
  than UTC.  Thanks to a patch from Ken Lalonde. [ISC-Bugs #2678]
This commit is contained in:
David Hankins
2006-06-06 16:35:18 +00:00
parent d19e2cf7de
commit 5e86441636
8 changed files with 174 additions and 164 deletions

View File

@@ -1654,6 +1654,9 @@ int dns_zone_reference PROTO ((struct dns_zone **,
struct dns_zone *, const char *, int));
/* print.c */
#define DEFAULT_TIME_FORMAT 0
#define LOCAL_TIME_FORMAT 1
extern int db_time_format;
char *quotify_string (const char *, const char *, int);
char *quotify_buf (const unsigned char *, unsigned, const char *, int);
char *print_base64 (const unsigned char *, unsigned, const char *, int);
@@ -1683,6 +1686,7 @@ void indent_spaces (FILE *, int);
#if defined (NSUPDATE)
void print_dns_status (int, ns_updque *);
#endif
const char *print_time(TIME);
/* socket.c */
#if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_RECEIVE) \