aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/carp_rules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/carp_rules.php b/packages/carp_rules.php
index 272b1150..1d288ac5 100644
--- a/packages/carp_rules.php
+++ b/packages/carp_rules.php
@@ -40,8 +40,8 @@ foreach($config['installedpackages']['carp']['config'] as $carp) {
$carp_int = find_carp_interface($ip);
add_rule_to_anchor("carp", "pass out quick on {$carp_int} keep state", $carp_int . "1");
if($carp['synciface']) {
- add_rule_to_anchor("carp", "pass quick on xl0 proto carp from {$carp['synciface']}:network to 224.0.0.18 keep state \(no-sync\)", $carp['synciface'] . "2");
- add_rule_to_anchor("carp", "pass quick on xl0 proto pfsync keep state", $carp['synciface'] . "3");
+ add_rule_to_anchor("carp", "pass quick on {$carp['synciface']} proto carp from {$carp['synciface']}:network to 224.0.0.18 keep state \(no-sync\)", $carp['synciface'] . "2");
+ add_rule_to_anchor("carp", "pass quick on {$carp['synciface']} proto pfsync keep state", $carp['synciface'] . "3");
}
if($int <> false and $int <> $wan_interface) {
$ipnet = convert_ip_to_network_format($ip, $carp['netmask']);