Refer to kernel interface via hydra and not charon.

This commit is contained in:
Tobias Brunner
2010-09-02 19:01:25 +02:00
parent 6f449d2efd
commit f6659688ab
24 changed files with 161 additions and 144 deletions
+2 -2
View File
@@ -206,8 +206,8 @@ static int prepare_dhcp(private_dhcp_socket_t *this,
else
{
/* act as relay agent */
src = charon->kernel_interface->get_source_addr(
charon->kernel_interface, this->dst, NULL);
src = hydra->kernel_interface->get_source_addr(hydra->kernel_interface,
this->dst, NULL);
if (src)
{
memcpy(&dhcp->gateway_address, src->get_address(src).ptr,