check for addr==null and add ipv6 to conf