log statement: How to log offered Lease Time?
fa222842@skynet.be
iftech at skynet.be
Tue Jan 16 16:13:16 UTC 2018
Hello,
I am trying to log the Leasetim provide in the OFFER or ACK basically by using
for instance
log (info, concat (" test1:", pick-first-value(binary-to-ascii(10,32,"", option
dhcp-lease-time), "(none)")));
but without success.
It looks like we cannot log info from an OFFER or an ACK ?
When using this
log ( info, concat( "MSGTYPE", binary-to-ascii (16,8,"^", option
dhcp-message-type)));
I only see MSGTYPE1 or MSGTYPE3 never 2 and 4
is it possible to log info from an OFFER or an ACK ?
THANKS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180116/3c4a303a/attachment.html>
More information about the dhcp-users
mailing list