X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=bca7ad6781e29d2bb1bea686d3971e02ede59909;hp=496895a509f15466e7430af454c784a09bc3ce7e;hb=62c0894fbb589dd45e69b7d9ef1fd152a9960d62;hpb=7e611b37e41f0ec7ec6d3173b7e88ed5b9b3a276 diff --git a/dccp_send.c b/dccp_send.c index 496895a5..bca7ad67 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -87,6 +87,7 @@ static void dccp_shutdown(void) { dccp_shutdown_clients(); generic_acl_deplete(&dss->acl); + free_sender_status(dss); } /** * Obtain current MPS according to RFC 4340, sec. 14. */ @@ -231,6 +232,8 @@ static void dccp_send_init(void) OPT_RESULT(DCCP_LISTEN_ADDRESS), OPT_UINT32_VAL(DCCP_PORT), OPT_UINT32_VAL(DCCP_MAX_CLIENTS), OPT_GIVEN(DCCP_DEFAULT_DENY)); + if (OPT_GIVEN(DCCP_NO_AUTOSTART)) + return; generic_com_on(dss, IPPROTO_DCCP); }