]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1862] fix forensic log v4 request only example
authorAndrei Pavel <andrei@isc.org>
Fri, 21 May 2021 08:37:57 +0000 (11:37 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 27 May 2021 17:11:53 +0000 (20:11 +0300)
doc/sphinx/arm/hooks.rst

index 8d12f82a703bd91f31dad35089c2bee540c543e1..a9269b569876650666300c12af19dee8f2effeff 100644 (file)
@@ -990,7 +990,7 @@ Examples:
 
    "request-parser-format":
        "ifelse(pkt4.msgtype == 3,
-            'Address: ' + addrtotext(pkt4.yiaddr) + ' has been assigned for ' + uint32totext(option[51].hex) + ' seconds to a device with hardware address: hwtype=' + substring(hexstring(pkt4.htype, ''), 7, 1) + ' ' + hexstring(pkt4.mac, ':') +
+            'Address: ' + addrtotext(option[50].hex) + ' has been assigned to a device with hardware address: hwtype=' + substring(hexstring(pkt4.htype, ''), 7, 1) + ' ' + hexstring(pkt4.mac, ':') +
                 ifelse(option[61].exists, ', client-id: ' + hexstring(option[61].hex, ':'), '') +
                 ifelse(pkt4.giaddr == 0.0.0.0, '', ' connected via relay at address: ' + addrtotext(pkt4.giaddr) +
                     ifelse(option[82].option[1].exists, ', circuit-id: ' + hexstring(option[82].option[1].hex, ':'), '') +