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
@@ -36,6 +36,7 @@
#include <linux/filter.h>
#include <net/if.h>
#include <hydra.h>
#include <daemon.h>
#include <threading/thread.h>
@@ -496,8 +497,8 @@ static int open_send_socket(private_socket_raw_socket_t *this,
}
}
if (!charon->kernel_interface->bypass_socket(charon->kernel_interface,
skt, family))
if (!hydra->kernel_interface->bypass_socket(hydra->kernel_interface,
skt, family))
{
DBG1(DBG_NET, "installing bypass policy on send socket failed");
}
@@ -602,8 +603,8 @@ static int open_recv_socket(private_socket_raw_socket_t *this, int family)
return 0;
}
if (!charon->kernel_interface->bypass_socket(charon->kernel_interface,
skt, family))
if (!hydra->kernel_interface->bypass_socket(hydra->kernel_interface,
skt, family))
{
DBG1(DBG_NET, "installing bypass policy on receive socket failed");
}