summaryrefslogtreecommitdiff
path: root/usr.sbin/sasyncd/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sasyncd/net.c')
-rw-r--r--usr.sbin/sasyncd/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sasyncd/net.c b/usr.sbin/sasyncd/net.c
index 21c9287ca45..c131a1be1d3 100644
--- a/usr.sbin/sasyncd/net.c
+++ b/usr.sbin/sasyncd/net.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net.c,v 1.12 2006/04/16 19:28:36 moritz Exp $ */
+/* $OpenBSD: net.c,v 1.13 2006/06/02 20:09:43 mcbride Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -653,6 +653,7 @@ net_shutdown(void)
if (p->name)
free(p->name);
LIST_REMOVE(p, link);
+ cfgstate.peercnt--;
free(p);
}