diff options
author | Bill Marquette <bill.marquette@gmail.com> | 2012-10-05 09:29:01 -0500 |
---|---|---|
committer | Bill Marquette <bill.marquette@gmail.com> | 2012-10-05 09:29:01 -0500 |
commit | 902052bc7398436380ecc485de3042658bbcaf41 (patch) | |
tree | 2d72346317408d086c24dcda0950b30a8b2d9238 /etc | |
parent | 050fd8ad42c7d2cf9f3400dbb0628befa93d268b (diff) | |
download | pfsense-902052bc7398436380ecc485de3042658bbcaf41.zip pfsense-902052bc7398436380ecc485de3042658bbcaf41.tar.gz |
show true/false in logged message instead of 1/<nothing>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
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]; |