further limit IPv6 related functionalities only if IPv6 has been enabled at compile time