<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>Hello all it seems to be a problem with Kea 1.0 regarding hooks.<br>
<br>
I was trying to hook myself to the <b>lease4_select</b> function and get the <b>query4
</b>param as stated in the documentation (<a href="http://git.kea.isc.org/~tester/kea/doxygen/de/df3/dhcpv4Hooks.html#dhcpv4HooksLeaseSelect">http://git.kea.isc.org/~tester/kea/doxygen/de/df3/dhcpv4Hooks.html#dhcpv4HooksLeaseSelect</a>)
<br>
<br>
I always get an error stating that the param does not exist. However, if i hook to the
<b>pkt4_send</b> function it works alright. Is it just me or it is a real issue?<br>
<br>
</div>
Best Regards,<br>
<div>
<div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width:auto;height:20px;font-size:0px"> 
<ul>
<li>name:<b>query4</b>, type: <a class="el" href="http://git.kea.isc.org/%7Etester/kea/doxygen/d5/d8c/namespaceisc_1_1dhcp.html#a3f332dc70d05fbe8e0fb453434c22d93" title="A pointer to Pkt4 object.">
isc::dhcp::Pkt4Ptr</a>, direction: <b>in</b></li><li>name: <b>subnet4</b>, type: <a class="el" href="http://git.kea.isc.org/%7Etester/kea/doxygen/d5/d8c/namespaceisc_1_1dhcp.html#a17ccc4cfb9f7534dfcedc83ebe0e5d5a" title="A pointer to a Subnet4 object.">
isc::dhcp::Subnet4Ptr</a>, direction: <b>in</b></li><li>name: <b>fake_allocation</b>, type: bool, direction: <b>in</b></li><li>name: <b>lease4</b>, type: <a class="el" href="http://git.kea.isc.org/%7Etester/kea/doxygen/d5/d8c/namespaceisc_1_1dhcp.html#aec4424838e2e5bb397345cdc32c0ef28" title="Pointer to a Lease4 structure.">
isc::dhcp::Lease4Ptr</a>, direction: <b>in/out</b></li></ul>
</td>
</tr>
<tr>
<td style="width:auto">
<div style="line-height:0"><a href="https://about.me/rpcaldeira?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links" style="text-decoration:none;display:inline-block" target="_blank">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width:107px;line-height:1;vertical-align:top" align="left" valign="top">
<img alt="--" style="display: block; width: 0px; height: 0px; overflow: hidden;" height="0" width="0">
<div><img src="https://aboutme.imgix.net/background/users/r/p/c/rpcaldeira_outlook.com_1455023098_86.jpg?w=105&q=90&dpr=1&auto=format,redeye&rect=0,14,756,504" alt="" style="margin: 0px; padding: 0px; display: block; border-width: 1px; border-style: solid; border-color: rgb(238, 238, 238); border-image: none;" height="70" width="105">
</div>
</td>
<td style="width:10px;font-size:0px"> </td>
<td style="width:auto;line-height:1;padding:0px 0px 3px;vertical-align:bottom" align="left" valign="bottom">
<div style="margin:0px;font-size:18px;font-weight:bold;color:rgb(51,51,51);font-family:proxima-nova-1,proxima-nova,helvetica,arial,sans-serif">
Rui Pedro Caldeira</div>
<div style="margin:1px 0px 0px;font-size:12px;color:rgb(43,130,173);font-family:proxima-nova-1,proxima-nova,helvetica,arial,sans-serif">
<img alt="https://" style="display: block; width: 0px; height: 0px; overflow: hidden;" height="0" width="0">about.me/rpcaldeira</div>
</td>
</tr>
</tbody>
</table>
</a></div>
</td>
</tr>
<tr>
<td style="width:auto;height:20px;font-size:0px"><img src="https://about.me/t/sig?u=rpcaldeira" style="border-width: 0px; border-style: none; border-color: -moz-use-text-color; border-image: none; margin: 0px; padding: 0px; overflow: hidden;" height="1" width="1"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>