Subject: ICMP_UNREACH_ADMIN_PROHIBIT
To: None <tech-net@NetBSD.ORG>
From: Michael Graff <explorer@flame.org>
List: tech-net
Date: 01/29/1998 01:48:29
Would this be the correct patch to make netbsd 1.3 understand
the ICMP_UNREACH_ADMIN_PROHIBIT type of ICMP_UNREACH message?
I thought making it a host unreachable rather than net unreachable
was probably right...
Index: ip_icmp.c
===================================================================
RCS file: /cvsroot/src/sys/netinet/ip_icmp.c,v
retrieving revision 1.25.2.1
diff -u -r1.25.2.1 ip_icmp.c
--- ip_icmp.c 1997/10/30 02:15:27 1.25.2.1
+++ ip_icmp.c 1998/01/29 09:46:57
@@ -271,6 +271,7 @@
case ICMP_UNREACH_HOST_UNKNOWN:
case ICMP_UNREACH_ISOLATED:
case ICMP_UNREACH_HOST_PROHIB:
+ case ICMP_UNREACH_ADMIN_PROHIBIT:
case ICMP_UNREACH_TOSHOST:
code = PRC_UNREACH_HOST;
break;