X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetbsd%2Fdevice.c;h=232e58df70afdab88f9c6d92d983a99db20cd820;hp=53bd9da8bec0a7113903b0ca0abad4a0e37c89e7;hb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8;hpb=9f38e394636a177c00a4545de2a99c661de36386 diff --git a/src/netbsd/device.c b/src/netbsd/device.c index 53bd9da8..232e58df 100644 --- a/src/netbsd/device.c +++ b/src/netbsd/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.5 2002/09/09 21:25:23 guus Exp $ + $Id: device.c,v 1.1.2.6 2002/09/09 22:33:24 guus Exp $ */ #include "config.h" @@ -93,7 +93,7 @@ void close_device(void) cp close(device_fd); cp} -int read_packet(vpn_packet_t * packet) +int read_packet(vpn_packet_t *packet) { int lenin; cp if((lenin = read(device_fd, packet->data + 14, MTU - 14)) <= 0) { @@ -119,7 +119,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"),