diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-08 00:20:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-08 00:20:52 +0000 |
commit | 93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1 (patch) | |
tree | e0b12f5b7633566b24a18e71161fdbc15140903b /etc | |
parent | b5b957fef6d081612e65727680807702b9027a3e (diff) | |
download | pfsense-93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1.zip pfsense-93347bbbaf3000cd85d07d7f4644c2af3ff7d4f1.tar.gz |
Call a backtrace and log it if we have a failed interface variable.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
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"); |