X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=0b454e792a84d679ec322561a00d7b383b1ef5b3;hp=bd6c0257e432161c3d468505ec275638c70f010e;hb=089fb2fb2d9e2a3473aa6fac91681ca8ddfffff3;hpb=b0ec08945c28e35558ed85691b57f314724f7613 diff --git a/dccp_send.c b/dccp_send.c index bd6c0257..0b454e79 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -80,6 +80,12 @@ static void dccp_shutdown_clients(void) dccp_shutdown_client(sc); } +static void dccp_shutdown(void) +{ + dccp_shutdown_clients(); + generic_acl_deplete(&dss->acl); +} + /** * Obtain current MPS according to RFC 4340, sec. 14. */ static int dccp_init_fec(struct sender_client *sc) { @@ -238,7 +244,7 @@ static void dccp_send_init(void) const struct sender dccp_sender = { .name = "dccp", .init = dccp_send_init, - .shutdown = dccp_shutdown_clients, + .shutdown = dccp_shutdown, .pre_select = dccp_pre_select, .post_select = dccp_post_select, .shutdown_clients = dccp_shutdown_clients,