diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-02-04 14:52:57 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-02-04 14:52:57 +0000 |
commit | 1ff94e2a53e6a1e543bdee2b7acaaa2a22c7dce9 (patch) | |
tree | e93b54a0f09218319f15f80c8d9b66eea71ad944 | |
parent | 77eff7dbe044be0efbe54515aba6dc4fa62b9310 (diff) |
RFC-1812 addtion
-rw-r--r-- | sbin/ping/ping.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 14c241f2399..456179b1e76 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.14 1997/01/30 22:43:14 deraadt Exp $ */ +/* $OpenBSD: ping.c,v 1.15 1997/02/04 14:52:56 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.14 1997/01/30 22:43:14 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ping.c,v 1.15 1997/02/04 14:52:56 kstailey Exp $"; #endif #endif /* not lint */ @@ -887,6 +887,9 @@ pr_icmph(icp) case ICMP_UNREACH_SRCFAIL: (void)printf("Source Route Failed\n"); break; + case ICMP_UNREACH_ADM_PROHIB: + (void)printf("Route administratively prohibited\n"); + break; default: (void)printf("Dest Unreachable, Bad Code: %d\n", icp->icmp_code); |