diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 00:13:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 00:13:12 +0000 |
commit | 66f59ea2df3a5b810d7bdfffca3b57106659b32f (patch) | |
tree | a676d964fecfcdbc0a3c94953f5688ac08f25e3c /etc/inc/interfaces.inc | |
parent | 6b70c7c84ed3ee87c2765c586d5c1c90018db120 (diff) | |
download | pfsense-66f59ea2df3a5b810d7bdfffca3b57106659b32f.zip pfsense-66f59ea2df3a5b810d7bdfffca3b57106659b32f.tar.gz |
Cleanups
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index e84009b..e2f37d7 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -285,6 +285,7 @@ function interfaces_carp_configure() { mwexec("/sbin/ifconfig pfsync0 syncif " . $carp_sync_int); mwexec("/sbin/ifconfig {$carp_sync_int} up"); mwexec("/sbin/ifconfig pfsync0 up"); + mwexec("echo pass all proto pfsync from any to any | pfctl -"); $pfsync_instances_counter++; } } @@ -299,7 +300,6 @@ function interfaces_carp_configure() { $password = " pass " . $carp['password']; } mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $carp['ipaddress'] . "/" . $carp['netmask'] . " broadcast " . $broadcast_address . " vhid " . $carp['vhid'] . " advskew " . $carp['advskew'] . $password); - mwexec("/sbin/ifconfig carp{$carp_instances_counter} up"); $carp_instances_counter++; } } |