]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpd: add version string to "starting" log entry
authorVincent Bernat <vincent@bernat.im>
Mon, 27 Jul 2015 06:55:39 +0000 (08:55 +0200)
committerVincent Bernat <vincent@bernat.im>
Fri, 7 Aug 2015 09:02:51 +0000 (11:02 +0200)
src/daemon/lldpd.c

index b6977359a4213c5a0638a5c7ccef33d59e6187bf..894ad7fb5fe254189d7b7b0db84e6a9c7d1a6496 100644 (file)
@@ -1495,7 +1495,7 @@ lldpd_main(int argc, char *argv[], char *envp[])
        log_init(debug, __progname);
        tzset();                /* Get timezone info before chroot */
 
-       log_debug("main", "lldpd starting...");
+       log_debug("main", "lldpd " PACKAGE_VERSION " starting...");
 
        /* Grab uid and gid to use for priv sep */
 #ifdef ENABLE_PRIVSEP