The effect of this typo became visible in an IPv6-only environment, where passt wouldn't work at all. Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com> --- netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlink.c b/netlink.c index 3ba5f05..532868d 100644 --- a/netlink.c +++ b/netlink.c @@ -231,8 +231,8 @@ v6: } if (first_v6) { - *v4 = IP_VERSION_ENABLED; - *v6 = IP_VERSION_DISABLED; + *v4 = IP_VERSION_DISABLED; + *v6 = IP_VERSION_ENABLED; return first_v6; } -- 2.33.0