aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-02-21 03:25:13 +0000
committerColin Smith <colin@pfsense.org>2005-02-21 03:25:13 +0000
commit82c8b2589817bdae50cc955a06136d5b4fd3bf7b (patch)
tree95055d1e557beef6fc927d8136f9a5f3f6122027 /packages
parent4135ab066950a901b81f04823c67c2cc20ef5a8c (diff)
downloadpfsense-packages-82c8b2589817bdae50cc955a06136d5b4fd3bf7b.tar.gz
pfsense-packages-82c8b2589817bdae50cc955a06136d5b4fd3bf7b.tar.bz2
pfsense-packages-82c8b2589817bdae50cc955a06136d5b4fd3bf7b.zip
Update ifstated package.
Diffstat (limited to 'packages')
-rw-r--r--packages/ifstated.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ifstated.xml b/packages/ifstated.xml
index 986ab748..24a39e41 100644
--- a/packages/ifstated.xml
+++ b/packages/ifstated.xml
@@ -79,11 +79,11 @@ p1 link up)))\"\n\n");
fwrite($fout, "net = '( \"ping -q -c 1 -t 1 " . $_POST['exttestip'] . " > /dev/null\" every 10 and \
"ping -q -c 1 -t 1 " . $_POST['inttestip'] . " > /dev/null\" every 10)'\n\n");
fwrite($fout, "peer = '( \"ping -q -c 1 -t 1 " . $_POST['pairextip'] . " > /dev/null\" every 10 and
-\"ping -q -c 1 -t 1 " . $_POST['pairintip'] . " > /dev/null\" every 10)'\n\n");
+\" ping -q -c 1 -t 1 " . $_POST['pairintip'] . " > /dev/null\" every 10)'\n\n");
fwrite($fout, "state auto {\nif \$carp_up {\nset-state primary\n}\nif \$carp_down {\nset-stat
e backup\n}\n}\n\n");
fwrite($fout, "state primary {\ninit {\nrun \"ifconfig carp0 advskew 10\"\nrun \"ifconfig c
-arp1 advskew 10\"\n}if ! \$net {\nset-state demoted\n}\n}\n\nstate demoted {\ninet {\nrun \"ifconfig carp0 advskew 2
+arp1 advskew 10\"\n}\nif ! \$net {\nset-state demoted\n}\n}\n\nstate demoted {\ninit {\nrun \"ifconfig carp0 advskew 2
54\"\nrun \"ifconfig carp1 advskew 254\"\n}\nif \$net {\nset-state primary\n}\n}\n\n");
fwrite($fout, "state backup {\ninit {\nrun \"ifconfig carp0 advskew 100\"\nrun \"ifconfig
carp1 advskew 100\"\n}\nif ! \$carp_sync and \$net and \"sleep 5\" every 10 {\nif(! \$carp_sync) and \$net {\nset-stat