diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index b1d52c7b8..e184134b1 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -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; } diff --git a/src/www/system_gateway_groups_edit.php b/src/www/system_gateway_groups_edit.php index 3b9f61d50..22f267ee9 100644 --- a/src/www/system_gateway_groups_edit.php +++ b/src/www/system_gateway_groups_edit.php @@ -241,7 +241,7 @@ $( document ).ready(function() { $address): - if (!preg_match("/^{$gateway['friendlyiface']}_/i", $vip)) { + if (!preg_match("/^{$gateway['interface']}_/i", $vip)) { continue; } if (($gateway['ipprotocol'] == "inet") && (!is_ipaddrv4($address))) {