Add option to switch off ipv6.