xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/packetdx4.notyet (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1# packet data expression
2# Kea has no raw packet extractor in libeval
3
4# authoritative is mandatory
5authoritative;
6
7# empty configs are not accepted by Kea
8default-lease-time 1800;
9
10# pretty standard hardware superclass extracting the Ethernet address directly
11class "byhw" {
12    match packet(28, 6);
13}
14
15subclass "byhw" 00:07:0E:36:48:19 {
16    option host-name "test1";
17}
18
19# raw
20option host-name = binary-to-ascii(16, 8, "-", packet(28, 6));
21