X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fopenbsd%2Fdevice.c;h=1a339a5e973da0d50643d6396db58af74a958831;hp=bd061358ecb133dff73915fa6369af9dd586fe7d;hb=627f7c22b447bd464b536cd016278545674df93d;hpb=c73bdd6bc8e213b7e27848b97307228c01570a1d diff --git a/src/openbsd/device.c b/src/openbsd/device.c index bd061358..1a339a5e 100644 --- a/src/openbsd/device.c +++ b/src/openbsd/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with OpenBSD tun device - Copyright (C) 2001-2002 Ivo Timmermans , - 2001-2002 Guus Sliepen + Copyright (C) 2001-2002 Ivo Timmermans , + 2001-2002 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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.7 2002/03/24 17:08:38 guus Exp $ + $Id: device.c,v 1.1.2.9 2002/06/21 10:11:36 guus Exp $ */ #include "config.h" @@ -127,7 +127,7 @@ cp break; default: if(debug_lvl >= DEBUG_TRAFFIC) - syslog(LOG_ERR, _("Unknown address family %s while reading packet from %s %s"), ntohl(type), device_info, device); + syslog(LOG_ERR, _("Unknown address family %d while reading packet from %s %s"), ntohl(type), device_info, device); return -1; } @@ -166,7 +166,7 @@ cp break; default: if(debug_lvl >= DEBUG_TRAFFIC) - syslog(LOG_ERR, _("Unknown address family %s while writing packet to %s %s"), af, device_info, device); + syslog(LOG_ERR, _("Unknown address family %d while writing packet to %s %s"), af, device_info, device); return -1; }