summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-04 16:44:16 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-04 16:44:16 +0000
commitd68787636c0638b5504f673a8f4f530f6d7b9110 (patch)
tree8c669ed6b0767b22a93f05295ada001246556cc4 /sbin
parent1ff94e2a53e6a1e543bdee2b7acaaa2a22c7dce9 (diff)
Changed ICMP "unreachable" code #defines to match the ones in
tcpdump/print-icmp.c since they were in BSD first.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping/ping.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 456179b1e76..7343f60b049 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping.c,v 1.15 1997/02/04 14:52:56 kstailey Exp $ */
+/* $OpenBSD: ping.c,v 1.16 1997/02/04 16:44:14 kstailey Exp $ */
/* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93";
#else
-static char rcsid[] = "$OpenBSD: ping.c,v 1.15 1997/02/04 14:52:56 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: ping.c,v 1.16 1997/02/04 16:44:14 kstailey Exp $";
#endif
#endif /* not lint */
@@ -887,7 +887,7 @@ pr_icmph(icp)
case ICMP_UNREACH_SRCFAIL:
(void)printf("Source Route Failed\n");
break;
- case ICMP_UNREACH_ADM_PROHIB:
+ case ICMP_UNREACH_FILTER_PROHIB:
(void)printf("Route administratively prohibited\n");
break;
default: