Skip to content

Commit

Permalink
Fixed net_adapter_enum not enumerating all adapters on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jul 14, 2023
1 parent 3439bb1 commit 4baf456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_adapter_winxp.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ bool net_adapter_enum(void *user_data, net_adapter_cb callback) {
break;
}

if (callback(user_data, &adapter))
if (!callback(user_data, &adapter))
break;
}

Expand Down

0 comments on commit 4baf456

Please sign in to comment.