summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-10 07:56:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-10 07:56:55 +0000
commit11f779a7907d0dbca7653b462a05ca2a2778e1ce (patch)
treea3324188e8f7d0ae82834625e9ec19945ac4a692 /usr.sbin/ospfd/control.h
parente28e185032a9204a235a0b9df0f4ab444af013e7 (diff)
Handle file descriptor exhaustion in the accept() case.
ok claudio
Diffstat (limited to 'usr.sbin/ospfd/control.h')
-rw-r--r--usr.sbin/ospfd/control.h3
1 files changed, 2 insertions, 1 deletions
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 <henning@openbsd.org>
@@ -25,6 +25,7 @@
struct {
struct event ev;
+ struct event evt;
int fd;
} control_state;