From d3d28ec7e2ccdf5522d9ee2da5ea08607b6de909 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Tue, 27 Sep 2022 20:10:05 +0000 Subject: [PATCH] Revert "ifstated: Kludge to get correct routes on fsol-gw" This reverts commit 01634d2ae3c05298ce06800c4a4fe1300dca5f73. --- roles/ifstated/templates/ifstated-fsol.conf | 30 +-------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/roles/ifstated/templates/ifstated-fsol.conf b/roles/ifstated/templates/ifstated-fsol.conf index e1a1bb0..49aec85 100644 --- a/roles/ifstated/templates/ifstated-fsol.conf +++ b/roles/ifstated/templates/ifstated-fsol.conf @@ -1,34 +1,6 @@ init-state auto -if_carp_up="carp145.link.up" -if_carp_down="carp145.link.down" - state auto { - if $if_carp_up { - set-state master - } - if $if_carp_down { - set-state backup - } -} - -state master { - init { - run "pfctl -f /etc/pf.conf" - run "route add 0/1 37.16.96.65" - } - if $if_carp_down { - set-state backup - } -} - -state backup { - init { - run "pfctl -f /etc/pf.conf" - run "route del 0/1" - } - if $if_carp_up { - set-state master - } + run "pfctl -f /etc/pf.conf" }