Skip to content

[BUG] netlib_add_vlan definition and implementation mismatch #3305

Description

@gosha-z

Description / Steps to reproduce the issue

Found a difference between definition and implementation of netlib_add_vlan function.
in include/netutils/netlib.h it declared as:
int netlib_add_vlan(FAR const char *ifname, int vlanid, int prio);
but in netutils/netlib/netlib_addvlan.c it implemented as
int netlib_add_vlan(FAR const char *ifname, int vlanid)

causing compiler error.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 24

NuttX Version

main branch

Issue Architecture

[Arch: all]

Issue Area

[Area: Networking]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions