X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=ecc87c78977dbbdde88e920aa5f6156a1060fc0d;hb=0d5c879672770e3b8a740727fb223a6febdeaa27;hp=9d716adc0e0e181f3c965107c32e06670dfa97f4;hpb=53f791cb6b55512101a0a0f42f9d91c356fa9591;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;