diff options
author | Thomas Markwalder <tmark@isc.org> | 2017-11-16 14:08:53 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2017-11-16 14:08:53 -0500 |
commit | fc4f62fe471e1c2d8e13d9713e72bc732b635014 (patch) | |
tree | 9fc8f97fea2fa3dbcd6d9db28076895fb7ba8124 | |
parent | e39b4193964c666e36e02787681da4deb2346398 (diff) | |
download | isc-dhcp-fc4f62fe471e1c2d8e13d9713e72bc732b635014.tar.gz |
[master] Output copyright et al with usage in dhcrelay
Merges in rt41865.
-rw-r--r-- | relay/dhcrelay.c | 6 | ||||
-rw-r--r-- | server/dhcpd.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 64b580b6..897a7766 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -142,7 +142,7 @@ static int strip_relay_agent_options(struct interface_info *, static void request_v4_interface(const char* name, int flags); static const char copyright[] = -"Copyright 2004-2016 Internet Systems Consortium."; +"Copyright 2004-2017 Internet Systems Consortium."; static const char arr[] = "All rights reserved."; static const char message[] = "Internet Systems Consortium DHCP Relay Agent"; @@ -207,6 +207,10 @@ static const char use_v6command[] = "Command not used for DHCPv4: %s"; static void usage(const char *sfmt, const char *sarg) { + log_info("%s %s", message, PACKAGE_VERSION); + log_info(copyright); + log_info(arr); + log_info(url); /* If desired print out the specific error message */ #ifdef PRINT_SPECIFIC_CL_ERRORS diff --git a/server/dhcpd.c b/server/dhcpd.c index b8a37114..19c6a687 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -27,7 +27,7 @@ */ static const char copyright[] = -"Copyright 2004-2016 Internet Systems Consortium."; +"Copyright 2004-2017 Internet Systems Consortium."; static const char arr [] = "All rights reserved."; static const char message [] = "Internet Systems Consortium DHCP Server"; static const char url [] = @@ -198,6 +198,7 @@ usage(const char *sfmt, const char *sarg) { log_info("%s %s", message, PACKAGE_VERSION); log_info(copyright); log_info(arr); + log_info(url); /* If desired print out the specific error message */ #ifdef PRINT_SPECIFIC_CL_ERRORS |