diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-27 00:47:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-27 00:47:34 +0000 |
commit | 8e12f3ea0cd1e2cc7ace916fa07736766e49e85d (patch) | |
tree | 7126acc0f6f98b942d4c9dc4d5caa3216d0fad40 | |
parent | 2b5cf753020f4f5cbe4cda0f6e0705deb1e56dd2 (diff) |
record route is not a problem; thanks bitblt
-rw-r--r-- | sys/netinet/ip_input.c | 14 |
1 files changed, 1 insertions, 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. */ |