summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ospfd/ospfe.c')
-rw-r--r--usr.sbin/ospfd/ospfe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 165538aa435..dcdde51e3c6 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.31 2005/06/13 08:27:29 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.32 2005/10/18 15:40:36 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -206,6 +206,8 @@ ospfe_shutdown(void)
area_del(area);
}
+ close(oeconf->ospf_socket);
+
/* clean up */
msgbuf_write(&ibuf_rde->w);
msgbuf_clear(&ibuf_rde->w);