Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/traceroute it is no use to do SO_DONTROUTE on recei...
details: https://anonhg.NetBSD.org/src/rev/ea96fb1e0b67
branches: trunk
changeset: 535211:ea96fb1e0b67
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Aug 12 02:51:07 2002 +0000
description:
it is no use to do SO_DONTROUTE on receive socket. stevesk@openbsd
diffstat:
usr.sbin/traceroute/traceroute.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r deb0ca642159 -r ea96fb1e0b67 usr.sbin/traceroute/traceroute.c
--- a/usr.sbin/traceroute/traceroute.c Mon Aug 12 02:45:17 2002 +0000
+++ b/usr.sbin/traceroute/traceroute.c Mon Aug 12 02:51:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: traceroute.c,v 1.52 2002/08/09 02:57:09 itojun Exp $ */
+/* $NetBSD: traceroute.c,v 1.53 2002/08/12 02:51:07 itojun Exp $ */
/*
* Copyright (c) 1988, 1989, 1991, 1994, 1995, 1996, 1997
@@ -29,7 +29,7 @@
#else
__COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1991, 1994, 1995, 1996, 1997\n\
The Regents of the University of California. All rights reserved.\n");
-__RCSID("$NetBSD: traceroute.c,v 1.52 2002/08/09 02:57:09 itojun Exp $");
+__RCSID("$NetBSD: traceroute.c,v 1.53 2002/08/12 02:51:07 itojun Exp $");
#endif
#endif
@@ -643,9 +643,6 @@
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 IPSEC
#ifdef IPSEC_POLICY_IPSEC
/*
Home |
Main Index |
Thread Index |
Old Index