diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2009-07-21 07:38:28 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2009-07-21 07:38:28 +0000 |
commit | 4866947d9edb5ca30e6246c114e2ef31f2fddb83 (patch) | |
tree | d8582ab67428de87e442d7f73aa1d68b9c3d9ca4 /net/miredo/files/patch-libtun6-diag.c | |
parent | Repo-copied from mysql51-scripts. (diff) |
Upgrade to 1.1.7.
Notes
Notes:
svn path=/head/; revision=238151
Diffstat (limited to 'net/miredo/files/patch-libtun6-diag.c')
-rw-r--r-- | net/miredo/files/patch-libtun6-diag.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/miredo/files/patch-libtun6-diag.c b/net/miredo/files/patch-libtun6-diag.c new file mode 100644 index 000000000000..80c6769e87fe --- /dev/null +++ b/net/miredo/files/patch-libtun6-diag.c @@ -0,0 +1,14 @@ +--- libtun6/diag.c.orig 2009-07-16 02:16:51.000000000 +0900 ++++ libtun6/diag.c 2009-07-21 16:19:12.000000000 +0900 +@@ -98,10 +98,10 @@ + return -1; + } + #else ++ const char tundev[] = "/dev/tun0"; + #if 1 /* BSD creates a tunnel even on stat() - skip diagnostics */ + return 0; + #else +- const char tundev[] = "/dev/tun0"; + struct stat st; + + if (stat (tundev, &st) == 0) |