ifstated: Fix default config template

This commit is contained in:
Timo Makinen 2021-09-01 18:46:06 +00:00
parent 78eaa51914
commit 46c65a4ca3

View file

@ -1,4 +1,4 @@
# flush routes when external carp goes up
if carp*.link.up
{% for int in network_vip_interfaces %}
if carp{{ int.vhid }}.link.up
run 'route -q flush ; route add default $(cat /etc/mygate)'
{% endfor %}