diff options
author | 2014-07-09 15:23:29 +0000 | |
---|---|---|
committer | 2014-07-09 15:23:29 +0000 | |
commit | 2c7415b24a712ba4cb919d1bddbd16f1a59ce5d3 (patch) | |
tree | c44c4d590be9d845698d351632177b57fba96e74 | |
parent | notdef is notdef since the beginning of time; no obj change. (diff) | |
download | wireguard-openbsd-2c7415b24a712ba4cb919d1bddbd16f1a59ce5d3.tar.xz wireguard-openbsd-2c7415b24a712ba4cb919d1bddbd16f1a59ce5d3.zip |
We do have ICMP_MASKREQ & ICMP_MASKREPLY; no obj change.
OK benno@
-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); } |