Skip to content

UDP Interfaces get created without if index #7

Open
@PascalM1313

Description

@PascalM1313

When you create a UDP interface via csp add udp -l 5000 -r 5001 1 0.0.0.0, the new interface has the name "UDP", without an index number. This makes it impossible to create further working UDP interfaces.

To fix this, in src/csp_init_cmd.c, the generated name needs to be duplicated to iface->name and the hardcoded line iface->name = "UDP" needs to be removed from lib/csp/src/interfaces/csp_if_udp.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions