X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fraw_socket%2Fdevice.c;h=8dd00a2080f39ec541a2b7e0bc7889e201c9ba7f;hp=0f239e09ad143e3e781653fc3ccadc9e183152b0;hb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8;hpb=9f38e394636a177c00a4545de2a99c661de36386 diff --git a/src/raw_socket/device.c b/src/raw_socket/device.c index 0f239e09..8dd00a20 100644 --- a/src/raw_socket/device.c +++ b/src/raw_socket/device.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c,v 1.1.2.2 2002/09/09 21:25:28 guus Exp $ + $Id: device.c,v 1.1.2.3 2002/09/09 22:33:31 guus Exp $ */ #include "config.h" @@ -117,7 +117,7 @@ void close_device(void) read, encrypt and send data that is available through the ethertap device */ -int read_packet(vpn_packet_t * packet) +int read_packet(vpn_packet_t *packet) { int lenin; cp if((lenin = read(device_fd, packet->data, MTU)) <= 0) { @@ -138,7 +138,7 @@ int read_packet(vpn_packet_t * packet) return 0; cp} -int write_packet(vpn_packet_t * packet) +int write_packet(vpn_packet_t *packet) { cp if(debug_lvl >= DEBUG_TRAFFIC) syslog(LOG_DEBUG, _("Writing packet of %d bytes to %s"),