some cleanups

not installing %any DNS servers
This commit is contained in:
Martin Willi
2007-03-08 16:58:59 +00:00
parent 8d0cd21a01
commit 8b8dd69dee
2 changed files with 10 additions and 11 deletions
+4 -1
View File
@@ -348,7 +348,10 @@ static status_t process_i(private_ike_config_t *this, message_t *message)
while (this->dns->remove_last(this->dns, (void**)&ip) == SUCCESS)
{
this->ike_sa->add_dns_server(this->ike_sa, ip);
if (!ip->is_anyaddr(ip))
{
this->ike_sa->add_dns_server(this->ike_sa, ip);
}
ip->destroy(ip);
}
}