]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Add version number to startup message
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 25 Nov 2015 18:03:53 +0000 (19:03 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 26 Nov 2015 08:55:54 +0000 (09:55 +0100)
pdns/dnsdist.cc

index 3253e4423d6eeb68d343632460c0c86b670d75e2..19878339e855961d92671197e8af485b13a765ce 100644 (file)
@@ -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 */