X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ffreebsd%2Fdevice.c;fp=src%2Ffreebsd%2Fdevice.c;h=074f347366996564509b3d2c74fb951e82a7c4dc;hp=0e3a9fceda49601b0307c227748a8ae14abb0db6;hb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8;hpb=9f38e394636a177c00a4545de2a99c661de36386 diff --git a/src/freebsd/device.c b/src/freebsd/device.c index 0e3a9fce..074f3473 100644 --- a/src/freebsd/device.c +++ b/src/freebsd/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.6 2002/09/09 21:25:19 guus Exp $ + $Id: device.c,v 1.1.2.7 2002/09/09 22:33:23 guus Exp $ */ #include "config.h" @@ -92,7 +92,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) { @@ -112,7 +112,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"),