X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=ecc87c78977dbbdde88e920aa5f6156a1060fc0d;hb=8eb9e6285f394569d7fe6ad43a0f4e5f9bca454f;hp=9d716adc0e0e181f3c965107c32e06670dfa97f4;hpb=91c6c281709cea60e7f79af07066ce6e69f685ee;p=collectd.git diff --git a/src/ntpd.c b/src/ntpd.c index 9d716adc..ecc87c78 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -278,9 +278,7 @@ static int ntpd_config (const char *key, const char *value) } else if (strcasecmp (key, "ReverseLookups") == 0) { - if ((strcasecmp (value, "True") == 0) - || (strcasecmp (value, "Yes") == 0) - || (strcasecmp (value, "On") == 0)) + if (IS_TRUE (value)) do_reverse_lookups = 1; else do_reverse_lookups = 0;