mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
Routing, gateways. missed two statements where friendlyiface was used, since we keep the configured "interface", these need to be renamed. for https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
2d3e6de0de
commit
c4d42929fb
@ -508,7 +508,7 @@ function system_staticroutes_configure($interface = '')
|
||||
continue;
|
||||
}
|
||||
$gateway = $gateways_arr[$rtent['gateway']];
|
||||
if (!empty($interface) && $interface != $gateway['friendlyiface']) {
|
||||
if (!empty($interface) && $interface != $gateway['interface']) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@ -241,7 +241,7 @@ $( document ).ready(function() {
|
||||
</option>
|
||||
<?php
|
||||
foreach (get_configured_carp_interface_list() as $vip => $address):
|
||||
if (!preg_match("/^{$gateway['friendlyiface']}_/i", $vip)) {
|
||||
if (!preg_match("/^{$gateway['interface']}_/i", $vip)) {
|
||||
continue;
|
||||
}
|
||||
if (($gateway['ipprotocol'] == "inet") && (!is_ipaddrv4($address))) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user