diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 14:55:42 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 14:55:42 +0000 |
commit | 18532b01f0f65265c7036a27b319afdd780de55e (patch) | |
tree | 43b747b99aff08ed9369d8242aabc9ec68c994b0 /usr.sbin/ldpd/ldpe.c | |
parent | 2034dac421494723224d278a9b1eeb17bfcf14dd (diff) |
Call accept_del() on exit.
Diffstat (limited to 'usr.sbin/ldpd/ldpe.c')
-rw-r--r-- | usr.sbin/ldpd/ldpe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpe.c b/usr.sbin/ldpd/ldpe.c index b368156384c..b116f8f8940 100644 --- a/usr.sbin/ldpd/ldpe.c +++ b/usr.sbin/ldpd/ldpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpe.c,v 1.41 2015/12/05 13:11:48 claudio Exp $ */ +/* $OpenBSD: ldpe.c,v 1.42 2016/05/23 14:55:41 renato Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -290,6 +290,7 @@ ldpe_shutdown(void) event_del(&disc_ev); event_del(&edisc_ev); + accept_del(leconf->ldp_session_socket); event_del(&pfkey_ev); close(leconf->ldp_discovery_socket); close(leconf->ldp_ediscovery_socket); |