summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-19 09:39:21 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-19 09:39:21 +0000
commit87a2efd1d8bb2d72247c5e805b4b0050f3bcefff (patch)
tree94051a8386f8b98dbd1bbabb52079fb38eb10bb5 /etc/inc/interfaces.inc
parentb042cfd6fd6b6b6a0aa21f784373dfbd6bef096d (diff)
downloadpfsense-87a2efd1d8bb2d72247c5e805b4b0050f3bcefff.zip
pfsense-87a2efd1d8bb2d72247c5e805b4b0050f3bcefff.tar.gz
Move from $debugging to $g["debug"].
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 98b4a65..23119d1 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -642,7 +642,7 @@ function interface_ppp_configure($ifcfg) {
}
function interfaces_carp_configure() {
- global $g, $config, $debugging;
+ global $g, $config;
$balanacing = "";
$pfsyncinterface = "";
$pfsyncenabled = "";
@@ -721,7 +721,7 @@ function interfaces_carp_configure() {
$viparr = $viparr_temp;
}
- if($debugging)
+ if($g['debug'])
$cmdchain->setdebug(); // optional for verbose logging
$cmdchain->execute();
@@ -820,7 +820,7 @@ EOD;
}
}
- if($debugging)
+ if($g['debug'])
$cmdchain->setdebug(); // optional for verbose logging
// Execute built up command chain.
$cmdchain->execute();
@@ -837,7 +837,7 @@ EOD;
}
function interfaces_ipalias_configure() {
- global $g, $config, $debugging;
+ global $g, $config;
if(isset($config['system']['developerspew'])) {
$mt = microtime();
echo "interfaces_ipalias_configure() being called $mt\n";
OpenPOWER on IntegriCloud