diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 00:56:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 00:56:00 +0000 |
commit | 8d8f27a14a0aea5ca6778544f9f95d1285c5baf0 (patch) | |
tree | 2e6f7ab4a8f6279ed80fad84da100a7a950633dc /etc/inc | |
parent | 8dbbc3edfb237ce235fe62e7790505a16f8be452 (diff) | |
download | pfsense-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.inc | 2 |
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; } |