summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-10 15:26:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-10 15:26:04 +0000
commit51832303ba5e231912b3e1780437f9a82aa0c4b6 (patch)
treef95ddc9ef27440f919f0c24dbb8e47a35ebcacea /etc/inc
parent75f2c22ccc5e30241722e57abd8af534a980ac12 (diff)
downloadpfsense-51832303ba5e231912b3e1780437f9a82aa0c4b6.zip
pfsense-51832303ba5e231912b3e1780437f9a82aa0c4b6.tar.gz
++ counter before processing
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud