mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Oops correct interface name
This commit is contained in:
parent
23e3b2adce
commit
7e86b57ecf
@ -433,7 +433,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
|
||||
switch($wancfg['ipaddrv6']) {
|
||||
case "6rd":
|
||||
case "6to4":
|
||||
$gateway['interface'] = "stf0";
|
||||
$gateway['interface'] = "{$gateway['interface']}_stf";
|
||||
break;
|
||||
default:
|
||||
$gateway['interface'] = get_real_interface($gateway['interface']);
|
||||
@ -600,11 +600,11 @@ function return_gateways_array($disabled = false, $localhost = false) {
|
||||
$gateway['gateway'] = get_interface_gateway_v6($ifname, $gateway['dynamic']);
|
||||
switch($ifcfg['ipaddrv6']) {
|
||||
case "6to4":
|
||||
$gateway['interface'] = "stf0";
|
||||
$gateway['interface'] = "{$ifname}_stf";
|
||||
$gateway['dynamic'] = "default";
|
||||
break;
|
||||
case "6rd":
|
||||
$gateway['interface'] = "stf0";
|
||||
$gateway['interface'] = "{$ifname}_stf";
|
||||
$gateway['dynamic'] = "default";
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user