Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
d53a95c0
Commit
d53a95c0
authored
Oct 12, 2020
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rvlan: fix (partial): force auth_vlan in JUSTUP state
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
46000125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
radiusvlan.c
userspace/tools/radiusvlan.c
+4
-1
No files found.
userspace/tools/radiusvlan.c
View file @
d53a95c0
...
...
@@ -114,8 +114,11 @@ int rvlan_fsm(struct rvlan_dev *dev, fd_set *rdset)
/* First of all, process up/down changes */
if
(
!
dev
->
up_now
&&
dev
->
fsm_state
!=
RVLAN_DOWN
)
dev
->
fsm_state
=
RVLAN_GODOWN
;
if
(
dev
->
up_now
&&
dev
->
fsm_state
==
RVLAN_DOWN
)
if
(
dev
->
up_now
&&
dev
->
fsm_state
==
RVLAN_DOWN
)
{
dev
->
fsm_state
=
RVLAN_JUSTUP
;
dev
->
chosen_vlan
=
rvlan_auth_vlan
;
rvlan_change_pending
++
;
}
switch
(
dev
->
fsm_state
)
{
case
RVLAN_DOWN
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment