summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-08 00:20:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-08 00:20:52 +0000
commit93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1 (patch)
treee0b12f5b7633566b24a18e71161fdbc15140903b /etc/inc
parentb5b957fef6d081612e65727680807702b9027a3e (diff)
downloadpfsense-93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1.zip
pfsense-93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1.tar.gz
Call a backtrace and log it if we have a failed interface variable.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a43fc46..d54dcb4 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -43,6 +43,7 @@ require_once("globals.inc");
function interfaces_bring_up($interface) {
if(!$interface) {
log_error("bring_interface_up was called but no variable defined.");
+ log_error( "Backtrace: " . var_dump(debug_backtrace()) );
return;
}
mwexec("/sbin/ifconfig " . escapeshellarg($interface) . " up");
OpenPOWER on IntegriCloud