Refer to kernel interface via hydra and not charon.

This commit is contained in:
Tobias Brunner committed 2010-09-02 19:01:25 +02:00
1 parent 6f449d2efd
commit f6659688ab
24 files changed
+161 -144

No files matched your search

+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,