svn commit: r202485 - stable/8/usr.sbin/traceroute

Bjoern A. Zeeb bz at
Sun Jan 17 15:20:34 UTC 2010

Author: bz
Date: Sun Jan 17 15:20:34 2010
New Revision: 202485

  MFC r201806:
    Switch traceroute over to make use of proper in-kernel source
    address selection.
    Reviewed by:  rwatson, fenner
    PR:           kern/139454
    Tested by:    Frank Steinborn (steinex
  MFC r201897:
    Correct spelling.
    Submitted by: (pluknet

     - copied, changed from r201806, head/usr.sbin/traceroute/findsaddr-udp.c
Directory Properties:
  stable/8/usr.sbin/traceroute/   (props changed)

Modified: stable/8/usr.sbin/traceroute/Makefile
--- stable/8/usr.sbin/traceroute/Makefile	Sun Jan 17 14:11:42 2010	(r202484)
+++ stable/8/usr.sbin/traceroute/Makefile	Sun Jan 17 15:20:34 2010	(r202485)
@@ -5,7 +5,7 @@ TRACEROUTE_DISTDIR?= ${.CURDIR}/../../co
 PROG=	traceroute
 MAN=	traceroute.8
-SRCS=	as.c version.c traceroute.c ifaddrlist.c findsaddr-socket.c
+SRCS=	as.c version.c traceroute.c ifaddrlist.c findsaddr-udp.c
 BINOWN=	root
 CLEANFILES=	version.c
@@ -29,7 +29,7 @@ DPADD=	${LIBIPSEC}
 LDADD=	-lipsec
 	@rm -f ${.TARGET}

Copied and modified: stable/8/usr.sbin/traceroute/findsaddr-udp.c (from r201806, head/usr.sbin/traceroute/findsaddr-udp.c)
--- head/usr.sbin/traceroute/findsaddr-udp.c	Fri Jan  8 16:59:28 2010	(r201806, copy source)
+++ stable/8/usr.sbin/traceroute/findsaddr-udp.c	Sun Jan 17 15:20:34 2010	(r202485)
@@ -40,7 +40,7 @@
  * Return the source address for the given destination address.
- * This makes use of proper source address seclection in the FreeBSD kernel
+ * This makes use of proper source address selection in the FreeBSD kernel
  * even taking jails into account (sys/netinet/in_pcb.c:in_pcbladdr()).
  * We open a UDP socket, and connect to the destination, letting the kernel
  * do the bind and then read the source IPv4 address using getsockname(2).

More information about the svn-src-stable-8 mailing list