summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/control.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-04-10 07:56:50 +0000
committerderaadt <deraadt@openbsd.org>2012-04-10 07:56:50 +0000
commite215f40d60becaf586a60b886ba7724cd8ee5039 (patch)
treeb2c387b8d1828ab5f144b17fcc677eeff0cb71dc /usr.sbin/ospfd/control.h
parentNo need to round VCEI addresses, and VCED addresses only need to be rounded (diff)
downloadwireguard-openbsd-e215f40d60becaf586a60b886ba7724cd8ee5039.tar.xz
wireguard-openbsd-e215f40d60becaf586a60b886ba7724cd8ee5039.zip
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;