Skip to content

network_wii's if_config() does not populate netmask or gateway #179

@emilydaemon

Description

@emilydaemon

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?

  1. Copy the template project folder.
  2. Include the network.h header.
  3. Call if_config() with three separate character arrays (each 16 characters long). The last two parameters should be set to TRUE and 20.
  4. Check the values of each array. The first one is populated as expected (ex. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions