X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fntpd.c;h=ecc87c78977dbbdde88e920aa5f6156a1060fc0d;hb=7017d8cd9cff36c1dd757869d9428c50906aaa2b;hp=9d716adc0e0e181f3c965107c32e06670dfa97f4;hpb=b3bfb951c73ea3d232e0e97a42479a5e3310125d;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;