mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not destroy CARP interfaces for time being until a FreeBSD bug is zapped.
This commit is contained in:
parent
dff74baf5f
commit
b987875fbf
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user