X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=1827dc3e0cbe1863ed4b6258726e47c27ea9c36c;hb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;hp=ffb71b0331ca92afa24e2acf260c2dc88c9e45f5;hpb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;p=collectd.git diff --git a/src/ntpd.c b/src/ntpd.c index ffb71b03..1827dc3e 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -56,12 +56,12 @@ static const char *config_keys[] = {"Host", "Port", "ReverseLookups", "IncludeUnitID"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static bool do_reverse_lookups = 1; +static bool do_reverse_lookups = true; /* This option only exists for backward compatibility. If it is false and two * ntpd peers use the same refclock driver, the plugin will try to write * simultaneous measurements from both to the same type instance. */ -static bool include_unit_id = 0; +static bool include_unit_id; #define NTPD_DEFAULT_HOST "localhost" #define NTPD_DEFAULT_PORT "123"