diff options
-rw-r--r-- | etc/inc/filter.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 94a3761..b670083 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2060,7 +2060,8 @@ function process_carp_rules() { global $g, $config; $lines = ""; /* return if there are no carp configured items */ - if($config['installedpackages']['carp']['config'] <> "") { + if($config['installedpackages']['carpsettings']['config'] <> "" or + $config['virtualip']['vip'] <> "") { $lines .= "pass quick proto carp keep state\n"; $lines .= "pass quick proto pfsync"; } |