summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-30 17:06:42 +0000
committerErmal <eri@pfsense.org>2013-01-30 17:07:41 +0000
commit7e86b57ecf26d5fb9bd6219f69dcda992cee4af4 (patch)
treed9f82c1bbd29ef8d32a7333a5dea4565fc39ad25
parent23e3b2adcebf42ae77533adfb88e75e771d566a4 (diff)
downloadpfsense-7e86b57ecf26d5fb9bd6219f69dcda992cee4af4.zip
pfsense-7e86b57ecf26d5fb9bd6219f69dcda992cee4af4.tar.gz
Oops correct interface name
-rw-r--r--etc/inc/gwlb.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 3dc7e2b..7439736 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -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:
OpenPOWER on IntegriCloud