diff options
Diffstat (limited to 'net/ntop/patches/patch-ac')
-rw-r--r-- | net/ntop/patches/patch-ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/ntop/patches/patch-ac b/net/ntop/patches/patch-ac new file mode 100644 index 00000000000..decadaa5e0b --- /dev/null +++ b/net/ntop/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.6 2009/05/03 15:31:08 tnn Exp $ + +http://www.ntop.org/trac/ticket/75 + +Index: http.c +=================================================================== +--- http.c (revision 3747) ++++ http.c (revision 3748) +@@ -1341,6 +1341,7 @@ + void initAccessLog(void) { + + if(myGlobals.runningPref.accessLogFile) { ++ umask(0137); + myGlobals.accessLogFd = fopen(myGlobals.runningPref.accessLogFile, "a"); + if(myGlobals.accessLogFd == NULL) { + traceEvent(CONST_TRACE_ERROR, "Unable to create file %s. Access log is disabled.", |