aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-06-11 09:23:01 -0400
committerjim-p <jimp@pfsense.org>2013-06-11 09:23:01 -0400
commit783714c840c66b12f81e754d60b217774ef45295 (patch)
tree0a68068973353e8c27ef25632e67c1d575ac226b
parentcf288f26b0f8e8146abce79a418b63be811c17b8 (diff)
downloadpfsense-packages-783714c840c66b12f81e754d60b217774ef45295.tar.gz
pfsense-packages-783714c840c66b12f81e754d60b217774ef45295.tar.bz2
pfsense-packages-783714c840c66b12f81e754d60b217774ef45295.zip
add a couple of newlines here for spacing.
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 591b9772..84bf8c4d 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -247,10 +247,12 @@ function quagga_ospfd_install_conf() {
if (is_ipaddr($ospfd_conf['carpstatusip'])) {
$carpcheckinterface = trim(find_carp_interface($ospfd_conf['carpstatusip']));
$carp_ip_status_check = <<<EOF
+
CARP_STATUS=`/sbin/ifconfig ${carpcheckinterface} | /usr/bin/grep carp: | /usr/bin/awk '{print $2;}'`
if [ \${CARP_STATUS} != "MASTER" ]; then
exit;
fi
+
EOF;
}