summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2002-09-04 19:04:38 +0000
committerdhartmei <dhartmei@openbsd.org>2002-09-04 19:04:38 +0000
commitec2b18fb72865d0ddd182ea23a6c5de0a1012f84 (patch)
treeedf7feb2b8647c544e5bb0f9ad023c994c94178f
parentdefault LoginGraceTime to 2m; 1m may be too short for slow systems. (diff)
downloadwireguard-openbsd-ec2b18fb72865d0ddd182ea23a6c5de0a1012f84.tar.xz
wireguard-openbsd-ec2b18fb72865d0ddd182ea23a6c5de0a1012f84.zip
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);