summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-08-12 02:36:26 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-08-12 02:36:26 +0000
commitbab0f04b1ce3e3585e7d7fdcc5b95c2bed933f01 (patch)
tree07bc24499b8228861740a4b7d19b2ddf2e2c5cc5 /usr.sbin
parent2f9157f3c05a440d51754ec35171730da2660a18 (diff)
SO_DONTROUTE on receive socket is not needed; ok itojun@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/traceroute/traceroute.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c
index 5342e9d06c4..278ccbb27d8 100644
--- a/usr.sbin/traceroute/traceroute.c
+++ b/usr.sbin/traceroute/traceroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: traceroute.c,v 1.48 2002/08/08 23:53:21 stevesk Exp $ */
+/* $OpenBSD: traceroute.c,v 1.49 2002/08/12 02:36:25 stevesk Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*-
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)traceroute.c 8.1 (Berkeley) 6/6/93";*/
#else
-static char rcsid[] = "$OpenBSD: traceroute.c,v 1.48 2002/08/08 23:53:21 stevesk Exp $";
+static char rcsid[] = "$OpenBSD: traceroute.c,v 1.49 2002/08/12 02:36:25 stevesk Exp $";
#endif
#endif /* not lint */
@@ -506,9 +506,6 @@ main(int argc, char *argv[])
if (options & SO_DEBUG)
(void) setsockopt(s, SOL_SOCKET, SO_DEBUG,
(char *)&on, sizeof(on));
- if (options & SO_DONTROUTE)
- (void) setsockopt(s, SOL_SOCKET, SO_DONTROUTE,
- (char *)&on, sizeof(on));
#ifdef SO_SNDBUF
if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen,
sizeof(datalen)) < 0)