+++ a/capture/ws80211_utils.c @@ -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;