diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-19 09:39:21 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-19 09:39:21 +0000 |
commit | 87a2efd1d8bb2d72247c5e805b4b0050f3bcefff (patch) | |
tree | 94051a8386f8b98dbd1bbabb52079fb38eb10bb5 | |
parent | b042cfd6fd6b6b6a0aa21f784373dfbd6bef096d (diff) | |
download | pfsense-87a2efd1d8bb2d72247c5e805b4b0050f3bcefff.zip pfsense-87a2efd1d8bb2d72247c5e805b4b0050f3bcefff.tar.gz |
Move from $debugging to $g["debug"].
-rw-r--r-- | etc/inc/interfaces.inc | 8 |
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"; |