0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/root-packages/tshark/caputils-ws80211.c.patch
2023-12-04 10:10:05 +02:00

11 lines
236 B
Diff

+++ 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;