From bf0a86b7763432f131071c631713807c8124ed35 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 23 May 2018 22:09:16 +1000 Subject: [PATCH] another fix.... --- utils/mnetscan/mnetscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {