projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reset the *correct* seqnos.
[tinc]
/
src
/
openbsd
/
device.c
diff --git
a/src/openbsd/device.c
b/src/openbsd/device.c
index
bd06135
..
1a339a5
100644
(file)
--- a/
src/openbsd/device.c
+++ b/
src/openbsd/device.c
@@
-1,7
+1,7
@@
/*
device.c -- Interaction with OpenBSD tun device
/*
device.c -- Interaction with OpenBSD tun device
- Copyright (C) 2001-2002 Ivo Timmermans <i
timmermans@bigfoot.com
>,
- 2001-2002 Guus Sliepen <guus@sliepen.
warande.net
>
+ Copyright (C) 2001-2002 Ivo Timmermans <i
vo@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
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.
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"
*/
#include "config.h"
@@
-127,7
+127,7
@@
cp
break;
default:
if(debug_lvl >= DEBUG_TRAFFIC)
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;
}
return -1;
}
@@
-166,7
+166,7
@@
cp
break;
default:
if(debug_lvl >= DEBUG_TRAFFIC)
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;
}
return -1;
}