termux-packages/root-packages/tshark/caputils-ws80211.c.patch

12 lines
332 B
Diff
Raw Normal View History

2017-11-04 05:50:50 +01:00
--- ./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;