Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

missing bzero. KAME PR 432

  • Loading branch information...
commit f2ed10465955456ce29e311069f40b7d89520c15 1 parent c258b61
itojun authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  kame/sys/netinet/in_gif.c
View
3  kame/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
-/* $KAME: in_gif.c,v 1.86 2002/06/09 16:29:54 itojun Exp $ */
+/* $KAME: in_gif.c,v 1.87 2002/07/14 21:07:44 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -345,6 +345,7 @@ in_gif_output(ifp, family, m)
}
if (sc->gif_ro.ro_rt == NULL) {
+ bzero(dst, sizeof(*dst));
dst->sin_family = sin_dst->sin_family;
dst->sin_len = sizeof(struct sockaddr_in);
dst->sin_addr = sin_dst->sin_addr;
Please sign in to comment.
Something went wrong with that request. Please try again.