summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-06 00:13:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-06 00:13:12 +0000
commit66f59ea2df3a5b810d7bdfffca3b57106659b32f (patch)
treea676d964fecfcdbc0a3c94953f5688ac08f25e3c /etc/inc/interfaces.inc
parent6b70c7c84ed3ee87c2765c586d5c1c90018db120 (diff)
downloadpfsense-66f59ea2df3a5b810d7bdfffca3b57106659b32f.zip
pfsense-66f59ea2df3a5b810d7bdfffca3b57106659b32f.tar.gz
Cleanups
Diffstat (limited to 'etc/inc/interfaces.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 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++;
}
}
OpenPOWER on IntegriCloud