--- ./caputils/ws80211_utils.c 2017-10-10 17:50:57.000000000 +0000 +++ ../ws80211_utils.c 2017-10-18 08:19:26.903580180 +0000 @@ -671,7 +671,7 @@ /* Update names of user created monitor interfaces */ while(fgets(line, sizeof(line), fh)) { - t = index(line, ':'); + t = strchr(line, ':'); if (!t) continue; *t = 0;