Set pfsync0 as down when it's not being used

This commit is contained in:
Renato Botelho 2013-02-22 09:40:11 -03:00
parent b32ea59d5a
commit fb6a3e7a1a

View File

@ -1874,7 +1874,7 @@ function interfaces_carp_setup() {
log_error("pfsync done in $i seconds.");
log_error("Configuring CARP settings finalize...");
} else {
mwexec("/sbin/ifconfig pfsync0 -syncdev -syncpeer", false);
mwexec("/sbin/ifconfig pfsync0 -syncdev -syncpeer down", false);
}
if($config['virtualip']['vip'])