Revision 865e64dd
Added by Scott Ullrich about 18 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
782 | 782 |
mwexec("/sbin/ifconfig carp{$x} delete"); |
783 | 783 |
if($needed_carp_interfaces < $carp_counter) { |
784 | 784 |
$needed_carp_interfaces--; |
785 |
log_error("Destroying carp interface."); |
|
785 |
//log_error("Destroying carp interface.");
|
|
786 | 786 |
//mwexec("/sbin/ifconfig carp{$x} destroy"); |
787 | 787 |
} |
788 | 788 |
} |
Also available in: Unified diff
Do not destroy carp interface which can lead to a panic. This has been tested and works just fine after deleting and adding new carp interfaces.