diff --git a/utils/mnetscan/mnetscan.c b/utils/mnetscan/mnetscan.c index da19a64..82265a4 100644 --- a/utils/mnetscan/mnetscan.c +++ b/utils/mnetscan/mnetscan.c @@ -111,7 +111,7 @@ int parse_config_file(char *filename) { mynode = atoi(bufferw); } else if (strncasecmp, "IMHUB", 5 == 0) { trimwhitespace(bufferw, 256, &buffer[6]); - if (strcasecmp(bufferw, "TRUE")) { + if (strcasecmp(bufferw, "TRUE") == 0) { imhub = 1; } } else if (strncasecmp(buffer, "UPLINK", 6) == 0) {