From 51832303ba5e231912b3e1780437f9a82aa0c4b6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 10 Aug 2005 15:26:04 +0000 Subject: ++ counter before processing --- etc/inc/interfaces.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 998fbd1..0bb87b0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -362,6 +362,7 @@ function interfaces_carp_configure() { } } /* remove any dangling carp references */ + $carp_instances_counter++; for($x=$carp_instances_counter; $x<$total_carp_interfaces_defined; $x++) { mwexec("/sbin/ifconfig carp{$x} down"); mwexec("/sbin/ifconfig carp{$x} destroy"); -- cgit v1.1