From 6831c842f3e1181fb7c32bba267891acbe35a53f Mon Sep 17 00:00:00 2001 From: hwr Date: Sun, 13 Sep 1998 21:39:49 +0000 Subject: [PATCH] The post 1.3.2 world is actually ready for this. --- sys/net/if_gre.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 07c54162181b..b9d4ebbe8edd 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_gre.c,v 1.1 1998/09/13 20:27:47 hwr Exp $ */ +/* $NetBSD: if_gre.c,v 1.2 1998/09/13 21:39:49 hwr Exp $ */ /* * (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -246,11 +246,7 @@ gre_output(ifp, m, dst, rt) if (sc->g_proto == IPPROTO_GRE){ /* we don't have any GRE flags for now */ -#if 0 /* the world is not yet ready for this as of 1.3.2 */ memset((void*)&gh->gi_g,0, sizeof(struct gre_h)); -#else - bzero((void*)&gh->gi_g, sizeof(struct gre_h)); -#endif gh->gi_ptype=htons(etype); } @@ -434,11 +430,7 @@ void gre_compute_route(struct gre_softc *sc) ro=&sc->route; -#if 0 /* the world is not yet ready for this as of 1.3.2 */ memset(ro,0,sizeof(struct route)); -#else - bzero(ro,sizeof(struct route)); -#endif ((struct sockaddr_in *)&ro->ro_dst)->sin_addr=sc->g_dst; ro->ro_dst.sa_family=AF_INET; ro->ro_dst.sa_len=sizeof(ro->ro_dst);