Skip to content

vlancreate command returns EINVAL when vlan id is 4094 #48

@MicahW

Description

@MicahW

I appears that the vlancreate() function in port.c which is called on the management command "vlan/create" should be valid for a vlan id of 4094. However the if statement checking for validity excludes 4094 "vlan < NUMOFVLAN-1". It also seems that vlanaddport() is afflicted with the same issue with it's vlan id check.

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