diff --git a/THANKS b/THANKS index 331a775..badafec 100644 --- a/THANKS +++ b/THANKS @@ -22,6 +22,7 @@ Adam Ciarcinski Rezso Gajdóczy Robert Viou Enno Gröper +Troy D. Hanson Ryan Malek Cheer Xiao Gilles Bouthenot diff --git a/man/dhcpd-pools.1.in b/man/dhcpd-pools.1.in index e0d50da..e6b1c86 100644 --- a/man/dhcpd-pools.1.in +++ b/man/dhcpd-pools.1.in @@ -289,14 +289,17 @@ ISC dhcpd lease file. .SH AUTHORS Original design by Sami Kerola. .br +uthash by Troy D. Hanson. +.br XML support by Dominic Germain, Sogetel inc. .br IPv6 support by Cheer Xiao. .br Mustache templating support by José Bollo. .SH LICENSE -The dhcpd-pools uses FreeBSD License, the mustache uses Apache License, and -the gnulib modules are Mostly, but not entirely, GPL. +The dhcpd-pools uses FreeBSD License, uthash uses BSD license, the mustache +uses Apache License, and the gnulib modules are mostly, but not entirely, +GPL. .SH "REPORTING BUGS" Report bugs to .MT @PACKAGE_BUGREPORT@ diff --git a/src/other.c b/src/other.c index 7660d65..3ffadc7 100644 --- a/src/other.c +++ b/src/other.c @@ -531,14 +531,19 @@ void clean_up(struct conf_t *state) /*! \brief A version printing. */ void __attribute__ ((__noreturn__)) print_version(void) { +#define stringify(s) #s +#define stringify_value(s) stringify(s) fprintf(stdout, "%s\n" "Original design and maintainer Sami Kerola.\n" + "uthash %s by Troy D. Hanson.\n" "XML support by Dominic Germain, Sogetel inc.\n" "IPv6 support by Cheer Xiao.\n" "Mustach templating support by Jose Bollo.\n" " The dhcpd-pools is FreeBSD Licensed,\n" + " uthash uses BSD license,\n" " gnulib parts are mostly GPL,\n" - " and mustache uses Apache License.\n", PACKAGE_STRING); + " and mustache uses Apache License.\n", PACKAGE_STRING, + stringify_value(UTHASH_VERSION)); exit(EXIT_SUCCESS); }