diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2014-07-09 15:23:30 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2014-07-09 15:23:30 +0000 |
commit | eefc7ca0884fb101ff10ceb59a2cc71cee814307 (patch) | |
tree | d71f98b9893a287a711d8d4bf799e4d9e9b79216 /sbin/ping/ping.c | |
parent | ef0e2f48e9c553c963d4f81f83856096655b2f31 (diff) |
We do have ICMP_MASKREQ & ICMP_MASKREPLY; no obj change.
OK benno@
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r-- | sbin/ping/ping.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 75f290e8b11..6aa4a4e737c 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.106 2014/07/09 15:22:36 florian Exp $ */ +/* $OpenBSD: ping.c,v 1.107 2014/07/09 15:23:29 florian Exp $ */ /* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */ /* @@ -1184,17 +1184,13 @@ pr_icmph(struct icmp *icp) (void)printf("Information Reply\n"); /* XXX ID + Seq */ break; -#ifdef ICMP_MASKREQ case ICMP_MASKREQ: (void)printf("Address Mask Request\n"); break; -#endif -#ifdef ICMP_MASKREPLY case ICMP_MASKREPLY: (void)printf("Address Mask Reply (Mask 0x%08x)\n", ntohl(icp->icmp_mask)); break; -#endif default: (void)printf("Unknown ICMP type: %d\n", icp->icmp_type); } |