Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154275538
D49148.id151555.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
403 B
Referenced Files
None
Subscribers
None
D49148.id151555.diff
View Options
diff --git a/tools/tools/net80211/wlanwds/wlanwds.c b/tools/tools/net80211/wlanwds/wlanwds.c
--- a/tools/tools/net80211/wlanwds/wlanwds.c
+++ b/tools/tools/net80211/wlanwds/wlanwds.c
@@ -283,7 +283,7 @@
}
/* Look for a matching interface */
- for (ifa = ifap; ifa != NULL; ifa++) {
+ for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) {
if (strcmp(ifname, ifa->ifa_name) != 0)
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 1:18 PM (18 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32280879
Default Alt Text
D49148.id151555.diff (403 B)
Attached To
Mode
D49148: wlanwds: convert getifaddrs() iteration to use the ifa_next pointer
Attached
Detach File
Event Timeline
Log In to Comment