summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-10-14 20:52:41 +0200
committerErmal <eri@pfsense.org>2014-10-14 23:21:50 +0200
commitfebe0112e1abc04a78d0aea75839c877e38c4bb4 (patch)
tree8474a6e916bc222f900121c3dba591144c8991fe /etc/inc
parent7c4c77ee62cf28ced5043761ece287d29d498cd7 (diff)
downloadpfsense-febe0112e1abc04a78d0aea75839c877e38c4bb4.zip
pfsense-febe0112e1abc04a78d0aea75839c877e38c4bb4.tar.gz
Make proper check here
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 93adb5f..715f144 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1976,7 +1976,7 @@ function interfaces_carp_setup() {
unset($carp_sync_int);
/* setup pfsync interface */
- if ($carp_sync_int and $pfsyncenabled) {
+ if (isset($carp_sync_int) and isset($pfsyncenabled)) {
if (is_ipaddr($pfsyncpeerip))
$syncpeer = "syncpeer {$pfsyncpeerip}";
else
OpenPOWER on IntegriCloud