]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Perf: Write also BIRD version to have all the needed data in the logfile
authorMaria Matejka <mq@ucw.cz>
Thu, 31 Jan 2019 14:03:43 +0000 (15:03 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 31 Jan 2019 14:03:43 +0000 (15:03 +0100)
proto/perf/perf.c

index 6741f7cbf17137cf83d4c0fe3d7d8d6044975166..07210a14742e4cadf7e8acf240133eb77b654c2f 100644 (file)
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include <time.h>
 
-#define PLOG(msg, ...) log(L_INFO "Perf %s " msg, p->p.name, ##__VA_ARGS__)
+#define PLOG(msg, ...) log(L_INFO "Perf %s %s " msg, BIRD_VERSION, p->p.name, ##__VA_ARGS__)
 
 static inline void
 random_data(void *p, uint len)