			sptr_mlppp = &mlppp.port[parameter_0];
				
	      if (sptr_mlppp->multilink_enabled)  
   	   {
      	   for (link_number = 0 ; link_number < sptr_mlppp->NoOfLinks ; ++link_number)
         	{
						
					if (is_remote_access_enabled_on_port (link_number) == TRUE)
					{
						printf ("MPPPRAS: Replacing option for Link %04x\n",link_number);
						replace_configuration_option (&mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].option_lists.remote_configured,
							mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].sptr_ras_ipcp_remote_address_option,
							OPTION_DEFAULT_STATE);

						replace_configuration_option (&mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].option_lists.configured,
							mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].sptr_ras_ipcp_local_address_option,
							OPTION_DEFAULT_STATE);

						replace_configuration_option (&mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].option_lists.remote_configured,
							mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].sptr_ras_dns_pri_server_remote_address_option,
							OPTION_DEFAULT_STATE);
						replace_configuration_option (&mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].option_lists.remote_configured,
							mlppp.port[link_number].ncp[PPP_IP_NCP_STACK_INDEX].sptr_ras_dns_sec_server_remote_address_option,
							OPTION_DEFAULT_STATE);

						sptr_option_list_entry = 
							find_matching_option (&ppp.port[link_number].option_lists.remote_configured, LCP_AUTHENTICATION_PROTOCOL); 

						if (sptr_option_list_entry)
						{
							delete_entry_from_option_list (&ppp.port[link_number].option_lists.remote_configured, 
								sptr_option_list_entry);
						}
					
						add_new_lcp_option_to_list (&ppp.port[link_number].option_lists.configured,
							ppp.port[link_number].sptr_ras_local_authentication);		

						copy_remote_configuration_options_to_tx_accepted_list (&ppp.port[link_number].option_lists);
					}
   	      }
      	}

