summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-09-04 19:04:39 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-09-04 19:04:39 +0000
commit4e0252f4b8aa9adca797a454c8c8e1a48849a09c (patch)
treebf29c9787c07f04f11fac0113971107f987269dc
parent99e0a212ca75b00fbcad5cacadfc36bfed689d39 (diff)
Ghosts from the past (fixed 1.65, reverted 1.66) rediscovered by
Henric Jungheim. ok deraadt@
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 44d4d989666..de45cff04da 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.106 2002/08/28 15:43:03 pefo Exp $ */
+/* $OpenBSD: ip_input.c,v 1.107 2002/09/04 19:04:38 dhartmei Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1273,8 +1273,6 @@ ip_weadvertise(addr)
if (rt == 0)
return 0;
- RTFREE(rt);
-
if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
rt->rt_gateway->sa_family != AF_LINK) {
RTFREE(rt);