Do not destroy CARP interfaces for time being until a FreeBSD bug is zapped.

This commit is contained in:
Scott Ullrich 2006-08-14 16:47:36 +00:00
parent dff74baf5f
commit b987875fbf

View File

@ -50,12 +50,14 @@ function reset_carp() {
mwexec("/sbin/sysctl net.inet.carp.allow=0");
for($x=0; $x<$carp_counter; $x++) {
mwexec("/sbin/ifconfig carp{$x} down");
mwexec("/sbin/ifconfig carp{$x} destroy");
/* do not destroy, freebsd bug lurks */
//mwexec("/sbin/ifconfig carp{$x} destroy");
}
find_number_of_created_carp_interfaces(true);
sleep(1);
mwexec("/sbin/sysctl net.inet.carp.allow=1");
interfaces_carp_configure();
usleep(1000);
interfaces_carp_bring_up_final();
}