version 1.1, 2012/02/21 22:30:18
|
version 1.1.1.1, 2012/10/09 09:06:55
|
Line 3
|
Line 3
|
DHCP Server Daemon. */ |
DHCP Server Daemon. */ |
|
|
/* |
/* |
* Copyright (c) 2004-2011 by Internet Systems Consortium, Inc. ("ISC") | * Copyright (c) 2004-2012 by Internet Systems Consortium, Inc. ("ISC") |
* Copyright (c) 1996-2003 by Internet Software Consortium |
* Copyright (c) 1996-2003 by Internet Software Consortium |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
Line 33
|
Line 33
|
*/ |
*/ |
|
|
static const char copyright[] = |
static const char copyright[] = |
"Copyright 2004-2011 Internet Systems Consortium."; | "Copyright 2004-2012 Internet Systems Consortium."; |
static const char arr [] = "All rights reserved."; |
static const char arr [] = "All rights reserved."; |
static const char message [] = "Internet Systems Consortium DHCP Server"; |
static const char message [] = "Internet Systems Consortium DHCP Server"; |
static const char url [] = |
static const char url [] = |
Line 58 static const char url [] =
|
Line 58 static const char url [] =
|
# undef group |
# undef group |
#endif /* PARANOIA */ |
#endif /* PARANOIA */ |
|
|
|
#ifndef UNIT_TEST |
static void usage(void); |
static void usage(void); |
|
#endif |
|
|
struct iaddr server_identifier; |
struct iaddr server_identifier; |
int server_identifier_matched; |
int server_identifier_matched; |
Line 1182 void postdb_startup (void)
|
Line 1184 void postdb_startup (void)
|
} |
} |
|
|
/* Print usage message. */ |
/* Print usage message. */ |
| #ifndef UNIT_TEST |
static void |
static void |
usage(void) { |
usage(void) { |
log_info("%s %s", message, PACKAGE_VERSION); |
log_info("%s %s", message, PACKAGE_VERSION); |
Line 1206 usage(void) {
|
Line 1208 usage(void) {
|
" [-pf pid-file] [--no-pid] [-s server]\n" |
" [-pf pid-file] [--no-pid] [-s server]\n" |
" [if0 [...ifN]]"); |
" [if0 [...ifN]]"); |
} |
} |
|
#endif |
|
|
void lease_pinged (from, packet, length) |
void lease_pinged (from, packet, length) |
struct iaddr from; |
struct iaddr from; |