]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[v4_1_esv] dhcrelay now emits copyright et al with usage
authorThomas Markwalder <tmark@isc.org>
Thu, 20 Jun 2019 14:14:01 +0000 (10:14 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 20 Jun 2019 14:14:01 +0000 (10:14 -0400)
    Merges in rt41865.

relay/dhcrelay.c
server/dhcpd.c

index 6ef858bfed938ec3eb3767d52891b31ecf05f6e0..85b9a3802850d8b81a2d3fb227fd60120be98390 100644 (file)
@@ -186,6 +186,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
index bc4688c67da008dd5c78162f4f29d0b33daf05f2..b5189ce3adf1add5d003a34300263005fe6fafc2 100644 (file)
@@ -233,6 +233,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