aboutsummaryrefslogtreecommitdiffstats
path: root/security/isakmpd/files/patch-isakmpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/isakmpd/files/patch-isakmpd.c')
-rw-r--r--security/isakmpd/files/patch-isakmpd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/isakmpd/files/patch-isakmpd.c b/security/isakmpd/files/patch-isakmpd.c
new file mode 100644
index 000000000000..55efea2cfd6b
--- /dev/null
+++ b/security/isakmpd/files/patch-isakmpd.c
@@ -0,0 +1,11 @@
+--- isakmpd.c 25 Jun 2004 20:25:34 -0000 1.67
++++ isakmpd.c 7 Dec 2004 19:41:01 -0000
+@@ -386,7 +386,7 @@
+ if (fcntl(n, F_GETFL, 0) == -1 && errno == EBADF)
+ (void) open("/dev/null", n ? O_WRONLY : O_RDONLY, 0);
+
+- for (n = 1; n < _NSIG; n++)
++ for (n = 1; n < NSIG; n++)
+ signal(n, SIG_DFL);
+
+ /* Log cmd line parsing and initialization errors to stderr. */