[PATCH openEuler-1.0-LTS 037/109] ipv6: silence compilation warning for non-IPV6 builds