diff options
author | smos <seth.mos@dds.nl> | 2012-12-04 05:44:31 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-12-04 05:44:31 +0100 |
commit | b32329fc083ebc5be0952e5506bef1344b814908 (patch) | |
tree | 59ff4e3badaa0a82ebd124e534b7d2c9f4abb989 /etc/inc/interfaces.inc | |
parent | a0e3ee984e2654511b5af1746e538184d1e1ff55 (diff) | |
download | pfsense-b32329fc083ebc5be0952e5506bef1344b814908.zip pfsense-b32329fc083ebc5be0952e5506bef1344b814908.tar.gz |
Do not echo any messages here as this would otherwise end up through the XML of the XMLRPC server.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 3c84eb7..f8435be 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1815,14 +1815,14 @@ function interfaces_carp_setup() { * for existing sessions. */ if ($config['hasync']['pfsyncenabled'] === "on"){ - echo "waiting for pfsync..."; + log_error("waiting for pfsync..."); $i = 0; while (intval(trim(`/sbin/ifconfig pfsync0 | /usr/bin/grep 'syncok: 0' | /usr/bin/grep -v grep | /usr/bin/wc -l`)) == 0 && $i < 30) { $i++; sleep(1); } - echo "pfsync done in $i seconds.\n"; - echo "Configuring CARP settings finalize..."; + log_error("pfsync done in $i seconds."); + log_error("Configuring CARP settings finalize..."); } if($config['virtualip']['vip']) |