mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make proper check here
This commit is contained in:
parent
7c4c77ee62
commit
febe0112e1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user