diff options
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) |