aboutsummaryrefslogtreecommitdiff
path: root/security/hamachi
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-05-23 14:28:44 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-05-23 14:28:44 +0000
commit8c45652736cf73481ac64aa13bf4538a72701e54 (patch)
treee298ed1ac6b6a62ca6c6e33de159170653fb9818 /security/hamachi
parentd51bbc8180e0f1f1cdf3fc7242d5c55f0a5d122e (diff)
- Fix to tap device in amd64
PR: ports/146102 Submitted by: Alex Forencich <alex@alexforencich.com> Approved by: maintainer (timeout > 14days)
Notes
Notes: svn path=/head/; revision=254890
Diffstat (limited to 'security/hamachi')
-rw-r--r--security/hamachi/files/patch-tuncfg_tuncfg.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/hamachi/files/patch-tuncfg_tuncfg.c b/security/hamachi/files/patch-tuncfg_tuncfg.c
index cdde008bc9c9..16cf40cf5193 100644
--- a/security/hamachi/files/patch-tuncfg_tuncfg.c
+++ b/security/hamachi/files/patch-tuncfg_tuncfg.c
@@ -1,5 +1,5 @@
---- tuncfg/tuncfg.c.orig Tue Jun 20 21:47:28 2006
-+++ tuncfg/tuncfg.c Fri Nov 17 11:14:51 2006
+--- tuncfg/tuncfg.c.orig 2006-06-20 16:47:28.000000000 -0300
++++ tuncfg/tuncfg.c 2010-05-23 11:08:53.000000000 -0300
@@ -20,7 +20,7 @@
* normally required by a private networking software. Namely -
*
@@ -208,6 +208,15 @@
if (tmp != -1) close(tmp);
if (dev != -1) close(dev);
if (r != 0) close(cli);
+@@ -272,7 +308,7 @@
+ skip:
+ for (i=0; i<ctx_n; i++)
+ {
+- unsigned long v[2];
++ unsigned int v[2];
+ char cmd[256];
+
+ if (! FD_ISSET(ctx[i].fd, &fdr))
@@ -295,7 +331,7 @@
goto ack;
}