summaryrefslogtreecommitdiff
path: root/net/tcptraceroute/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcptraceroute/patches/patch-ab')
-rw-r--r--net/tcptraceroute/patches/patch-ab12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/tcptraceroute/patches/patch-ab b/net/tcptraceroute/patches/patch-ab
index efef1cc5862..9d0f2987237 100644
--- a/net/tcptraceroute/patches/patch-ab
+++ b/net/tcptraceroute/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2003/12/28 06:33:26 kim Exp $
+$NetBSD: patch-ab,v 1.3 2004/09/19 21:38:21 kim Exp $
--- tcptraceroute.c.orig 2002-07-30 17:51:27.000000000 -0400
-+++ tcptraceroute.c 2003-12-28 00:58:09.000000000 -0500
++++ tcptraceroute.c 2004-09-19 17:34:05.000000000 -0400
@@ -209,7 +209,7 @@
#define AF_LINK AF_INET /* BSD defines some AF_INET network interfaces as AF_LINK */
#endif
@@ -65,3 +65,11 @@ $NetBSD: patch-ab,v 1.2 2003/12/28 06:33:26 kim Exp $
#if defined (__SVR4) && defined (__sun)
o_trackport = 1; /* --track-port should be the default for Solaris */
#else
+@@ -2003,6 +2007,6 @@
+
+ defaults();
+ initcapture();
+- seteuid(getuid());
++ setuid(getuid());
+ return trace();
+ }