From c5d5ffaf0b406829c86c269012fb61fc0038b2ee Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 18 Apr 2006 16:38:43 +0000 Subject: Do not setup carp pfsync interface unless pfsync is enabled Really not sure how this fell through the cracks. Grr. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 5b0c722..2bdffae 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -388,7 +388,7 @@ function interfaces_carp_configure() { exec("/sbin/pfctl -f /tmp/rules.boot"); } /* setup pfsync interface */ - if($carp_sync_int) + if($carp_sync_int and $pfsyncenabled) mwexec("/sbin/ifconfig pfsync0 syncdev {$carp_sync_int} up"); else mwexec("/sbin/ifconfig pfsync0 syncdev lo0 up"); -- cgit v1.1