firewall: remove unreachable and incorrect code

PR: https://forum.opnsense.org/index.php?topic=24654.0
This commit is contained in:
Franco Fichtner 2021-09-09 10:19:52 +02:00
parent 7bd5f2ae4c
commit 002d7637bd

View File

@ -74,8 +74,6 @@ function filter_rules_sort()
return 1;
} elseif ($a['interface'] == $b['interface']) {
return $a['seq'] - $b['seq'];
} elseif ($a['interface'] == $b['interface']) {
return 0;
} elseif ($a['interface'] == 'wan') {
return -1;
} elseif ($b['interface'] == 'wan') {