From: Pieter Lexis Date: Wed, 25 Nov 2015 18:03:53 +0000 (+0100) Subject: dnsdist: Add version number to startup message X-Git-Tag: dnsdist-1.0.0-alpha1~193^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43ac546dd2058371a44238cf7e1ed085061722c2;p=thirdparty%2Fpdns.git dnsdist: Add version number to startup message --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 3253e4423d..19878339e8 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -1283,7 +1283,7 @@ try } else { vinfolog("Running in the foreground"); - warnlog("dnsdist comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2"); + warnlog("dnsdist %s comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2", VERSION); } /* this need to be done _after_ dropping privileges */