Proxymode removed.

This commit is contained in:
Guus Sliepen 2000-05-14 11:39:18 +00:00
parent 269067bb22
commit 8caa1b9d75
3 changed files with 1 additions and 9 deletions

View file

@ -59,7 +59,6 @@ static internal_config_t hazahaza[] = {
{ "PingTimeout", pingtimeout, TYPE_INT },
{ "TapDevice", tapdevice, TYPE_NAME },
{ "KeyExpire", keyexpire, TYPE_INT },
{ "ProxyMode", proxymode, TYPE_BOOL },
{ NULL, 0, 0 }
};

View file

@ -40,8 +40,7 @@ typedef enum which_t {
tapdevice,
allowconnect,
pingtimeout,
keyexpire,
proxymode
keyexpire
} which_t;
typedef struct config_t {

View file

@ -258,14 +258,8 @@ cp
*/
int send_packet(ip_t to, vpn_packet_t *packet)
{
config_t const *cfg;
conn_list_t *cl;
cp
if(!(cfg = get_config_val(proxymode))) /* In case we are in proxy mode, just send everything to our uplink. */
cl = conn_list;
else
cl = lookup_conn(to);
if((cl = lookup_conn(to)) == NULL)
{
if(debug_lvl > 2)