Verified Commit 4104404f authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

common: Fox static networking not working when ipv6_gateway isn't set

Fixes: 678845af ("Add Kape server IPv6 addresses (fixes #230)")
parent fd8a6ee5
......@@ -25,7 +25,7 @@ Peer={{ ipv4_gateway }}{{ ipv4_netmask}}
Address={{ ipv6_address }}{{ ipv6_netmask }}
{% endif %}
{% if not ipv6_gateway.startswith("fe80") %}
{% if ipv6_gateway is defined and not ipv6_gateway.startswith("fe80") %}
[Route]
Destination={{ ipv6_gateway }}
{% endif %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment