Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

missing bzero. KAME PR 432

  • Loading branch information...
commit f2ed10465955456ce29e311069f40b7d89520c15 1 parent c258b61
itojun authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  kame/sys/netinet/in_gif.c
3  kame/sys/netinet/in_gif.c
... ... @@ -1,4 +1,4 @@
1   -/* $KAME: in_gif.c,v 1.86 2002/06/09 16:29:54 itojun Exp $ */
  1 +/* $KAME: in_gif.c,v 1.87 2002/07/14 21:07:44 itojun Exp $ */
2 2
3 3 /*
4 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -345,6 +345,7 @@ in_gif_output(ifp, family, m)
345 345 }
346 346
347 347 if (sc->gif_ro.ro_rt == NULL) {
  348 + bzero(dst, sizeof(*dst));
348 349 dst->sin_family = sin_dst->sin_family;
349 350 dst->sin_len = sizeof(struct sockaddr_in);
350 351 dst->sin_addr = sin_dst->sin_addr;

0 comments on commit f2ed104

Please sign in to comment.
Something went wrong with that request. Please try again.