From 8e12f3ea0cd1e2cc7ace916fa07736766e49e85d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 27 Oct 1996 00:47:34 +0000 Subject: record route is not a problem; thanks bitblt --- sys/netinet/ip_input.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 5e74333f709..89b2beb91be 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.18 1996/10/18 03:04:54 tholo Exp $ */ +/* $OpenBSD: ip_input.c,v 1.19 1996/10/27 00:47:33 deraadt Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -792,18 +792,6 @@ ip_dooptions(m) goto bad; } - if (!ip_dosourceroute) { - char buf[4*sizeof "123"]; - - strcpy(buf, inet_ntoa(ip->ip_dst)); - log(LOG_WARNING, - "attempted source route from %s to %s\n", - inet_ntoa(ip->ip_src), buf); - type = ICMP_UNREACH; - code = ICMP_UNREACH_SRCFAIL; - goto bad; - } - /* * If no space remains, ignore. */ -- cgit v1.2.3