projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated dutch translation.
[tinc]
/
src
/
netutl.c
diff --git
a/src/netutl.c
b/src/netutl.c
index
cfaf6b4
..
1cf03c3
100644
(file)
--- a/
src/netutl.c
+++ b/
src/netutl.c
@@
-1,7
+1,7
@@
/*
netutl.c -- some supporting network utility code
/*
netutl.c -- some supporting network utility code
- Copyright (C) 1998-2002 Ivo Timmermans <i
timmermans@bigfoot.com
>
- 2000-2002 Guus Sliepen <guus@sliepen.
warande.net
>
+ Copyright (C) 1998-2002 Ivo Timmermans <i
vo@o2w.nl
>
+ 2000-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: netutl.c,v 1.12.4.
39 2002/06/08 13:46:43
guus Exp $
+ $Id: netutl.c,v 1.12.4.
41 2002/06/21 17:49:48
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-241,7
+241,7
@@
cp
i = masklen / 8;
masklen %= 8;
i = masklen / 8;
masklen %= 8;
- if(a[i++] & (0xff >> masklen))
+ if(
masklen &&
a[i++] & (0xff >> masklen))
return -1;
for(; i < len; i++)
return -1;
for(; i < len; i++)