X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Finterface.c;fp=src%2Finterface.c;h=3e2b2cd5fb99362a6b721e3f94ee92a219fbc996;hb=6e41c3b1f024d7944e5e8010a87933555c662474;hp=39ca880363aa96b2c888e25e53c49bc23cbad93a;hpb=029b489b237a8785c539f85d4840a49ba6743603;p=collectd.git diff --git a/src/interface.c b/src/interface.c index 39ca8803..3e2b2cd5 100644 --- a/src/interface.c +++ b/src/interface.c @@ -117,7 +117,7 @@ static int interface_config(const char *key, const char *value) { else if (strcasecmp(key, "UniqueName") == 0) { #ifdef HAVE_LIBKSTAT if (IS_TRUE(value)) - unique_name = 1; + unique_name = true; #else WARNING("interface plugin: the \"UniqueName\" option is only valid on " "Solaris.");