projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8dd0956
)
Clear subnets before using them.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 11 Jul 2002 12:42:43 +0000
(12:42 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 11 Jul 2002 12:42:43 +0000
(12:42 +0000)
src/subnet.c
patch
|
blob
|
history
diff --git
a/src/subnet.c
b/src/subnet.c
index
c1cbe16
..
ada8112
100644
(file)
--- a/
src/subnet.c
+++ b/
src/subnet.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.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: subnet.c,v 1.1.2.3
8 2002/07/10 11:32:3
3 guus Exp $
+ $Id: subnet.c,v 1.1.2.3
9 2002/07/11 12:42:4
3 guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-155,7
+155,7
@@
cp
subnet_t *new_subnet(void)
{
cp
subnet_t *new_subnet(void)
{
cp
- return (subnet_t *)xmalloc(sizeof(subnet_t));
+ return (subnet_t *)xmalloc
_and_zero
(sizeof(subnet_t));
}
void free_subnet(subnet_t *subnet)
}
void free_subnet(subnet_t *subnet)