From 440d07d96a25b08c7a4334536d1a8b91df38bf0c Mon Sep 17 00:00:00 2001 From: sylvio Date: Sun, 23 May 2010 14:28:44 +0000 Subject: - Fix to tap device in amd64 PR: ports/146102 Submitted by: Alex Forencich Approved by: maintainer (timeout > 14days) --- security/hamachi/files/patch-tuncfg_tuncfg.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'security') 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