-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
network_wii's if_config() does not populate netmask or gateway #179
Comments
hey emily! just took a quick look, and it seems the parameters are unused ( https://github.com/devkitPro/libogc/blob/master/libogc/network_wii.c#L1192 ) ! question is though, are they retrieved in the ios calls... EDIT : look like it'll need to be retrieved from IOS using some calls like it does for the ip : the wiibrew documentation is very... bare for the network stuff. maybe we can find this stuff somewhere else ? |
found something in dolphin. IOS' /dev/net/ip/top device has a IOCTLV called GetInterfaceOption that can retrieve the ip, gateway and subnet mask given the right sub command id. i think our GetHostIp call needs to be replaced with this. |
Bug Report
What's the issue you encountered?
network_wii's if_config function does not populate netmask or gateway, even though these are accepted as parameters.
I expected them to be populated with subnet mask and default gateway respectively, but the function does not make any changes to them.
How can the issue be reproduced?
TRUE
and20
.192.168.68.52
), but the second and third arrays are left unchanged.Environment?
I am using Windows 10 with the supplied msys2 shell, but I do not believe that this is relevant to the problem.
The text was updated successfully, but these errors were encountered: