Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111191992
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
Sat, Mar 1, 3:43 PM (17 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16877913
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