diff options
author | sylvio <sylvio@FreeBSD.org> | 2010-05-23 22:28:44 +0800 |
---|---|---|
committer | sylvio <sylvio@FreeBSD.org> | 2010-05-23 22:28:44 +0800 |
commit | 440d07d96a25b08c7a4334536d1a8b91df38bf0c (patch) | |
tree | a149f1eeb4bec1342fcab1b69b531c01a8cc659b /security | |
parent | 3723a5e3b00e8558315d6687d52f9b6c7f7edbe0 (diff) | |
download | freebsd-ports-gnome-440d07d96a25b08c7a4334536d1a8b91df38bf0c.tar.gz freebsd-ports-gnome-440d07d96a25b08c7a4334536d1a8b91df38bf0c.tar.zst freebsd-ports-gnome-440d07d96a25b08c7a4334536d1a8b91df38bf0c.zip |
- Fix to tap device in amd64
PR: ports/146102
Submitted by: Alex Forencich <alex@alexforencich.com>
Approved by: maintainer (timeout > 14days)
Diffstat (limited to 'security')
-rw-r--r-- | security/hamachi/files/patch-tuncfg_tuncfg.c | 13 |
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; } |