diff options
author | 2005-06-15 07:24:05 +0000 | |
---|---|---|
committer | 2005-06-15 07:24:05 +0000 | |
commit | a06777d00c2548cd73a8887a5eaa5976d0f125b8 (patch) | |
tree | 349a81ed7466eaa388a6bd1ae22f250682468b30 | |
parent | Regen (diff) | |
download | wireguard-openbsd-a06777d00c2548cd73a8887a5eaa5976d0f125b8.tar.xz wireguard-openbsd-a06777d00c2548cd73a8887a5eaa5976d0f125b8.zip |
remove from "attempted source route ..." message; ok deraadt, mpf, henning, millert
-rw-r--r-- | sys/netinet/ip_input.c | 9 |
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; |