summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2005-06-15 07:24:06 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2005-06-15 07:24:06 +0000
commit0a782c542901533752285f018faa013aa686fc77 (patch)
treefda03b2082eca307c888f45127738a8ca14e4833
parent0b9fff16f18c4a0b000f308c6aef05e01dbb1405 (diff)
remove from "attempted source route ..." message; ok deraadt, mpf, henning, millert
-rw-r--r--sys/netinet/ip_input.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index a93ce38c1da..cebb993c66a 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.128 2005/06/10 15:56:01 markus Exp $ */
+/* $OpenBSD: ip_input.c,v 1.129 2005/06/15 07:24:05 markus Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1022,13 +1022,6 @@ ip_dooptions(m)
case IPOPT_LSRR:
case IPOPT_SSRR:
if (!ip_dosourceroute) {
- char buf[4*sizeof "123"];
-
- strlcpy(buf, inet_ntoa(ip->ip_dst),
- sizeof buf);
- 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;