/*
device.c -- Interaction with OpenBSD tun device
- Copyright (C) 2001-2002 Ivo Timmermans <itimmermans@bigfoot.com>,
- 2001-2002 Guus Sliepen <guus@sliepen.warande.net>
+ Copyright (C) 2001-2002 Ivo Timmermans <ivo@o2w.nl>,
+ 2001-2002 Guus Sliepen <guus@sliepen.eu.org>
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
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"
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;
}
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;
}