Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/inetd Pull up rev. 1.63:
details: https://anonhg.NetBSD.org/src/rev/64e902c55bde
branches: netbsd-1-5
changeset: 488423:64e902c55bde
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Jul 04 00:56:16 2000 +0000
description:
Pull up rev. 1.63:
remove duplicated ipsec setup code. we always call setup() on
socket reinitialization (like SIGHUP).
sync with kame.
diffstat:
usr.sbin/inetd/inetd.c | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diffs (36 lines):
diff -r d8033fa91479 -r 64e902c55bde usr.sbin/inetd/inetd.c
--- a/usr.sbin/inetd/inetd.c Mon Jul 03 22:59:28 2000 +0000
+++ b/usr.sbin/inetd/inetd.c Tue Jul 04 00:56:16 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inetd.c,v 1.62 2000/06/02 23:17:55 fvdl Exp $ */
+/* $NetBSD: inetd.c,v 1.62.2.1 2000/07/04 00:56:16 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
#if 0
static char sccsid[] = "@(#)inetd.c 8.4 (Berkeley) 4/13/94";
#else
-__RCSID("$NetBSD: inetd.c,v 1.62 2000/06/02 23:17:55 fvdl Exp $");
+__RCSID("$NetBSD: inetd.c,v 1.62.2.1 2000/07/04 00:56:16 thorpej Exp $");
#endif
#endif /* not lint */
@@ -821,17 +821,6 @@
SWAP(char *, sep->se_argv[i], cp->se_argv[i]);
#ifdef IPSEC
SWAP(char *, sep->se_policy, cp->se_policy);
- if (sep->se_fd != -1) {
- if (ipsecsetup(sep->se_family, sep->se_fd,
- sep->se_policy) < 0 && sep->se_policy) {
- syslog(LOG_ERR, "%s/%s: "
- "ipsec initialization failed",
- sep->se_service, sep->se_proto);
- sep->se_checked = 0;
- sigsetmask(omask);
- continue;
- }
- }
#endif
SWAP(int, cp->se_type, sep->se_type);
SWAP(int, cp->se_max, sep->se_max);
Home |
Main Index |
Thread Index |
Old Index