summaryrefslogtreecommitdiff
path: root/net/ntop/files/patch-ntop.c
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-01-19 21:57:44 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-01-19 21:57:44 +0000
commit0b273bfe0023b005df9ba19da378215b7f8d0eb9 (patch)
treeeac11a954f3e805e9e567f0916c745ec80030538 /net/ntop/files/patch-ntop.c
parentDisable pppd23 on OSVERSION 800045 or higher. (diff)
- Fix to install file etter.finger.os
- Fix to problem with kevent PR: ports/139361 Submitted by: Vladimir Korkodinov <viper@perm.raid.ru> Approved by: itetcu (mentor)
Notes
Notes: svn path=/head/; revision=248169
Diffstat (limited to 'net/ntop/files/patch-ntop.c')
-rw-r--r--net/ntop/files/patch-ntop.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntop/files/patch-ntop.c b/net/ntop/files/patch-ntop.c
new file mode 100644
index 000000000000..6d3992f21bea
--- /dev/null
+++ b/net/ntop/files/patch-ntop.c
@@ -0,0 +1,11 @@
+--- ntop.c.orig 2010-01-15 20:54:06.000000000 -0200
++++ ntop.c 2010-01-15 20:55:37.000000000 -0200
+@@ -183,7 +183,7 @@
+ #endif
+ signal(SIGQUIT, SIG_IGN);
+
+- if((childpid=fork()) < 0)
++ if((childpid=rfork(RFPROC)) < 0)
+ traceEvent(CONST_TRACE_ERROR, "INIT: Occurred while daemonizing (errno=%d)", errno);
+ else {
+ #ifdef DEBUG