From e215f40d60becaf586a60b886ba7724cd8ee5039 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 10 Apr 2012 07:56:50 +0000 Subject: Handle file descriptor exhaustion in the accept() case. ok claudio --- usr.sbin/ospfd/control.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ospfd/control.h') diff --git a/usr.sbin/ospfd/control.h b/usr.sbin/ospfd/control.h index b439e645938..8f70ef63ebc 100644 --- a/usr.sbin/ospfd/control.h +++ b/usr.sbin/ospfd/control.h @@ -1,4 +1,4 @@ -/* $OpenBSD: control.h,v 1.4 2009/06/06 07:31:26 eric Exp $ */ +/* $OpenBSD: control.h,v 1.5 2012/04/10 07:56:54 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -25,6 +25,7 @@ struct { struct event ev; + struct event evt; int fd; } control_state; -- cgit v1.2.3-59-g8ed1b