We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc37e5 commit 50f62f0Copy full SHA for 50f62f0
tests/common/config.py
@@ -580,8 +580,9 @@ async def setup_policy_tun(
580
else:
581
await cleanup_config(unet, r1only=r1only, ipv4=ipv4, ipv6=ipv6)
582
583
- if bool(tun_ipv6) != bool(ipv6):
+ if (tun_ipv6 and ipv4) or (not tun_ipv6 and ipv6):
584
esp_flags = "af-unspec " + esp_flags
585
+
586
if esp_flags:
587
esp_flags = "flag " + esp_flags
588
@@ -810,8 +811,9 @@ async def setup_routed_tun(
810
811
812
813
814
815
816
817
818
819
0 commit comments