summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 00:56:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 00:56:00 +0000
commit8d8f27a14a0aea5ca6778544f9f95d1285c5baf0 (patch)
tree2e6f7ab4a8f6279ed80fad84da100a7a950633dc /etc/inc
parent8dbbc3edfb237ce235fe62e7790505a16f8be452 (diff)
downloadpfsense-8d8f27a14a0aea5ca6778544f9f95d1285c5baf0.zip
pfsense-8d8f27a14a0aea5ca6778544f9f95d1285c5baf0.tar.gz
Correctly return the number of created carp interfaces.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 68e2f4b..b7d2648 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -140,7 +140,7 @@ function find_number_of_created_carp_interfaces() {
$tmp .= fread($fd,49);
}
fclose($fd);
- $tmp = intval($tmp) -1;
+ $tmp = intval($tmp);
return $tmp;
}
OpenPOWER on IntegriCloud