Gentoo net ipv6 fixes

This fixes ipv6 support and resolves stack trace from ip flushing command not found.