summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-03-23 08:17:35 +0000
committermpi <mpi@openbsd.org>2016-03-23 08:17:35 +0000
commit7810687082e0bd5bc8e0ccbb872bf77a751d17bd (patch)
treef50bf4bbade026876525a257b9e4cf3672dfa7a2 /usr.sbin/arp/arp.c
parentRemove unused arguments of dev_adjpar(), getbasepath() and all (diff)
downloadwireguard-openbsd-7810687082e0bd5bc8e0ccbb872bf77a751d17bd.tar.xz
wireguard-openbsd-7810687082e0bd5bc8e0ccbb872bf77a751d17bd.zip
Remove code to print the never set SIN_PROXY bit. This flag is only used
to set the 33rd bit of a 32bit address in the routing table. ok millert@
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r--usr.sbin/arp/arp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 6fa22adc5e9..d38820c53bf 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arp.c,v 1.71 2016/01/26 18:26:19 mmcc Exp $ */
+/* $OpenBSD: arp.c,v 1.72 2016/03/23 08:17:35 mpi Exp $ */
/* $NetBSD: arp.c,v 1.12 1995/04/24 13:25:18 cgd Exp $ */
/*
@@ -568,7 +568,6 @@ print_entry(struct sockaddr_dl *sdl, struct sockaddr_inarp *sin,
printf(" %s%s%s\n",
(rtm->rtm_flags & RTF_LOCAL) ? "l" : "",
- (sin->sin_other & SIN_PROXY) ? "P" : "",
(rtm->rtm_flags & RTF_ANNOUNCE) ? "p" : "");
}