From 7e86b57ecf26d5fb9bd6219f69dcda992cee4af4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 30 Jan 2013 17:06:42 +0000 Subject: [PATCH] Oops correct interface name --- etc/inc/gwlb.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 3dc7e2ba87..7439736445 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: