summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-05-10 18:20:45 -0400
committerjim-p <jimp@pfsense.org>2010-05-10 18:20:45 -0400
commit5fac81741c5490f967a625c92e96a0a4f7a58455 (patch)
tree6725826fb574b30fac6086f4f0c297df0b10fdf5 /etc/inc/interfaces.inc
parent2c7bc9d0442817229e67ccafca155276fab384a4 (diff)
downloadpfsense-5fac81741c5490f967a625c92e96a0a4f7a58455.zip
pfsense-5fac81741c5490f967a625c92e96a0a4f7a58455.tar.gz
Rework check for PPPoE reset setting, it wasn't matching at bootup so the reset file was not getting added properly. Ticket #583.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 92e5048..19af755 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -692,7 +692,7 @@ function interfaces_configure() {
foreach($iflist as $if => $ifname) {
$realif = $config['interfaces'][$if]['if'];
- if(is_array($realif['pppoe']) && isset($realif['pppoe']['pppoe-reset-type']))
+ if(is_array($config['interfaces'][$if]['pppoe']) && isset($config['interfaces'][$if]['pppoe']['pppoe-reset-type']))
setup_pppoe_reset_file($if, true);
else
setup_pppoe_reset_file($if, false);
OpenPOWER on IntegriCloud