mirror of
https://github.com/opnsense/core.git
synced 2026-04-29 10:01:15 -04:00
Removed accidental negation in disabled check
This commit is contained in:
parent
5526830d19
commit
fe4dd8f8cc
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ function system_routing_configure($verbose = false, $interface_map = null, $moni
|
|||
$cmd[] = exec_safe('%s', $rtent['network']);
|
||||
|
||||
$route_disabled = empty($rtent['enabled']);
|
||||
if (!$route_disabled) {
|
||||
if ($route_disabled) {
|
||||
mwexecfm('/sbin/route delete ' . implode(' ', $cmd));
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue