Hi,

On 16 Dec 2025, at 14:29, Veronique Lefebure via Kea-users wrote:

> Hi,
> For that purpose we have defined a class where we test the mac address like:
>
>  "test": "(pkt4.mac == 0x000012345678 or pkt4.mac == 0x000012345679 or ...)"
>

in Kea-DHCP 3.x, this can be done also with the "match" regular expression 
statement (less verbose):

"test": "match('00:00:12:34:56:78|00:00:12:34:56:79|...',hexstring(pkt4.mac, 
':'))"

Carsten
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to