summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
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