summaryrefslogtreecommitdiffstats
path: root/pimd/pim_main.c
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2010-03-11 14:47:42 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:07:53 +0100
commit0ef36d82d87094b32f71be47a73144459f057db9 (patch)
treef42a6fc0ab4292ca38fda301996686c87c80e204 /pimd/pim_main.c
parentf9e05e5f2ae7bc8352a0744d4e4b5105b60e74a4 (diff)
downloadquagga-0ef36d82d87094b32f71be47a73144459f057db9.tar.bz2
quagga-0ef36d82d87094b32f71be47a73144459f057db9.tar.xz
[pim] Work-around improper monotonic clock
Diffstat (limited to 'pimd/pim_main.c')
-rw-r--r--pimd/pim_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 2efcbb8c..51e5e360 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -285,6 +285,14 @@ Hello, this is " QUAGGA_PROGNAME " " QUAGGA_VERSION " " PIMD_PROGNAME " " PIMD_V
zlog_notice("PIM_UNEXPECTED_KERNEL_UPCALL: report unexpected kernel upcall");
#endif
+#ifdef PIM_FORCE_QUAGGA_REALTIME_STABILISED
+ zlog_notice("PIM_USE_QUAGGA_GETTIME: using Quagga's quagga_gettime"());
+#endif
+
+#ifdef PIM_GETTIME_USE_GETTIMEOFDAY
+ zlog_notice("PIM_GETTIME_USE_GETTIMEOFDAY: work-around improper monotonic clock");
+#endif
+
#ifdef HAVE_CLOCK_MONOTONIC
zlog_notice("HAVE_CLOCK_MONOTONIC");
#else