Skip to content
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

vlancreate command returns EINVAL when vlan id is 4094 #48

Open
MicahW opened this issue Nov 13, 2023 · 0 comments
Open

vlancreate command returns EINVAL when vlan id is 4094 #48

MicahW opened this issue Nov 13, 2023 · 0 comments

Comments

@MicahW
Copy link

MicahW commented Nov 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant