<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<style type="text/css">.mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}
</style>
</head><body style="">
<div>
<div>
Hello,
</div>
<div>
</div>
<div>
I am trying to log the Leasetim provide in the OFFER or ACK basically by using for instance
</div>
<div>
log (info, concat (" test1:", pick-first-value(binary-to-ascii(10,32,"", option dhcp-lease-time), "(none)")));
</div>
<div>
</div>
<div>
but without success.
</div>
<div>
It looks like we cannot log info from an OFFER or an ACK ?
</div>
<div>
When using this
</div>
<div>
log ( info, concat( "MSGTYPE", binary-to-ascii (16,8,"^", option dhcp-message-type)));
</div>
<div>
I only see MSGTYPE1 or MSGTYPE3 never 2 and 4
</div>
<div>
</div>
<div>
is it possible to log info from an OFFER or an ACK ?
</div>
<div>
</div>
<div>
THANKS
</div>
</div>
</body></html>