From 704f0cef66f94c2b17c8e591137c21b6af74fc7b Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Wed, 9 Apr 2014 19:53:33 +0200 Subject: [PATCH] Remove handle_device_data function --- src/net_packet.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/net_packet.c b/src/net_packet.c index 012085e2..41e303e2 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1040,14 +1040,14 @@ void handle_incoming_vpn_data(void *data, int flags) { receive_udppacket(n, &pkt); } -void handle_device_data(void *data, int flags) { - vpn_packet_t packet; - - packet.priority = 0; - - if(devops.read(&packet)) { - myself->in_packets++; - myself->in_bytes += packet.len; - route(myself, &packet); - } -} +//void handle_device_data(void *data, int flags) { +// vpn_packet_t packet; +// +// packet.priority = 0; +// +// if(devops.read(&packet)) { +// myself->in_packets++; +// myself->in_bytes += packet.len; +// route(myself, &packet); +// } +//} -- 2.39.5