mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Destroy interfaces.
This commit is contained in:
parent
b987875fbf
commit
27b62c6e7a
@ -50,8 +50,7 @@ function reset_carp() {
|
||||
mwexec("/sbin/sysctl net.inet.carp.allow=0");
|
||||
for($x=0; $x<$carp_counter; $x++) {
|
||||
mwexec("/sbin/ifconfig carp{$x} down");
|
||||
/* do not destroy, freebsd bug lurks */
|
||||
//mwexec("/sbin/ifconfig carp{$x} destroy");
|
||||
mwexec("/sbin/ifconfig carp{$x} destroy");
|
||||
}
|
||||
find_number_of_created_carp_interfaces(true);
|
||||
sleep(1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user