diff options
author | Ted Lemon <source@isc.org> | 1996-09-11 06:35:16 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-09-11 06:35:16 +0000 |
commit | 688a235b8ea420973f61018d53586bec3a487673 (patch) | |
tree | ed3a09e2e7904c04e090889a3ddd0b2eb66f49b0 /common | |
parent | a4105882388b4ba01f35f8b5b6468835d10f7e31 (diff) | |
download | isc-dhcp-688a235b8ea420973f61018d53586bec3a487673.tar.gz |
dmalloc already zeros allocated memory
Diffstat (limited to 'common')
-rw-r--r-- | common/dispatch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/dispatch.c b/common/dispatch.c index 0bdc22db..404e8522 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dispatch.c,v 1.24 1996/09/11 05:53:32 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dispatch.c,v 1.25 1996/09/11 06:35:16 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -139,7 +139,6 @@ void discover_interfaces () if (!tmp) error ("Insufficient memory to %s %s", "record interface", ifp -> ifr_name); - memset (tmp, 0, sizeof *tmp); strcpy (tmp -> name, ifp -> ifr_name); tmp -> next = interfaces; tmp -> flags = ir; |