mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
Fix compare interfaces. (#5173)
This commit is contained in:
parent
d0630be3b0
commit
4b60a9893e
@ -72,7 +72,7 @@ function filter_rules_sort()
|
||||
return -1;
|
||||
} elseif (isset($b['floating'])) {
|
||||
return 1;
|
||||
} elseif ($a['interface'] == $b['interface']) {
|
||||
} elseif ($a['interface'] != $b['interface']) {
|
||||
return $a['seq'] - $b['seq'];
|
||||
} elseif ($a['interface'] == $b['interface']) {
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user