summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2012-10-05 09:29:01 -0500
committerBill Marquette <bill.marquette@gmail.com>2012-10-05 09:29:01 -0500
commit902052bc7398436380ecc485de3042658bbcaf41 (patch)
tree2d72346317408d086c24dcda0950b30a8b2d9238 /etc/inc/interfaces.inc
parent050fd8ad42c7d2cf9f3400dbb0628befa93d268b (diff)
downloadpfsense-902052bc7398436380ecc485de3042658bbcaf41.zip
pfsense-902052bc7398436380ecc485de3042658bbcaf41.tar.gz
show true/false in logged message instead of 1/<nothing>
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 551d833..83ab0c8 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1060,8 +1060,7 @@ function interface_bring_down($interface = "wan", $destroy = false) {
if (!isset($config['interfaces'][$interface]))
return;
-
- log_error("Calling interface down for interface {$interface}, destroy is {$destroy}");
+ log_error("Calling interface down for interface {$interface}, destroy is " . (($destroy) ? 'true' : 'false'));
$ifcfg = $config['interfaces'][$interface];
OpenPOWER on IntegriCloud