luci-mod-network: switch.js: fix internal port ordering
Fixes: #3709
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1c547d36b5
)
This commit is contained in:
parent
59a53c954f
commit
70b5982b4c
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ return L.view.extend({
|
|||
}
|
||||
|
||||
port_opts.sort(function(a, b) {
|
||||
return a.option < b.option;
|
||||
return a.option > b.option;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue