<br>
<div>Hi, Michael</div>
<div> </div>
<div>It seems that OMAPI code completely lacks for socket disconnecting routine.</div>
<div>The patch against dhcp-4.2.0-P2 which solves that issue is proposed.</div>
<div> </div>
<div>Use new disconnect routine like this</div>
<div> </div>
<div>dhcpctl_handle connection = NULL;</div>
<div>isc_result_t status;</div>
<div> </div>
<div>status = dhcpctl_connect (&connection,<....>);</div>
<div>if (status == ISC_R_SUCCESS) {</div>
<div><font color="#33cc00">    if (connection != NULL)</font></div>
<div><font color="#33cc00">        dhcpctl_handle_dereference (&connection, MDL);</font></div>
<div>}</div>
<div> </div>
<div> </div>
<div>Please let me know if it helped to solve your problem.</div>
<div> </div>
<div>Regards,</div>
<div>Serghei Samsi</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>