diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-03-21 17:33:11 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-03-21 17:33:11 +0000 |
commit | 682c33310efe8880ad42f1dd6d9868bd2809ac4c (patch) | |
tree | e7ba4dab81faec1e6eb6611dcf5844e3cbb63972 /usr.sbin/ldpd | |
parent | e53edc3a7e105bd75ddce8423167417b6294c2ae (diff) |
Close extended discovery socket on exit.
Diffstat (limited to 'usr.sbin/ldpd')
-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 c3256b366fa..84d61d2cf63 100644 --- a/usr.sbin/ldpd/ldpe.c +++ b/usr.sbin/ldpd/ldpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpe.c,v 1.27 2015/02/10 01:03:54 claudio Exp $ */ +/* $OpenBSD: ldpe.c,v 1.28 2015/03/21 17:33:10 renato Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -279,6 +279,7 @@ ldpe_shutdown(void) } close(leconf->ldp_discovery_socket); + close(leconf->ldp_ediscovery_socket); close(leconf->ldp_session_socket); /* clean up */ |