summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-08-10 15:29:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-08-10 15:29:35 +0000
commitc6bb22983bf42b3eaf0ae55625c6983ccce065f7 (patch)
tree8c4f57443864179a2152945b52d12766a92109c9 /sys/netinet
parent5805e266862cc7867e65126c242f3a7b86376a41 (diff)
7 years of
#if 1 reasonable #else bullshit required by some committee #endif are enough. theo ok
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index b289b5cadf9..787d6d0a716 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.169 2009/08/10 15:26:33 henning Exp $ */
+/* $OpenBSD: ip_input.c,v 1.170 2009/08/10 15:29:34 henning Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1562,7 +1562,6 @@ ip_forward(m, srcrt)
break;
case ENOBUFS:
-#if 1
/*
* a router should not generate ICMP_SOURCEQUENCH as
* required in RFC1812 Requirements for IP Version 4 Routers.
@@ -1570,11 +1569,6 @@ ip_forward(m, srcrt)
* or the underlying interface is rate-limited.
*/
goto freecopy;
-#else
- type = ICMP_SOURCEQUENCH;
- code = 0;
- break;
-#endif
}
mcopy = m_copym(&mfake, 0, len, M_DONTWAIT);