[kea-dev] Hardware ID as classification
Duane Zimmer
Duane.Zimmer at yourlinkinc.net
Tue Jun 21 18:36:16 UTC 2016
2016-06-21 22:05:08.072 ERROR [kea-dhcp4.dhcp4/30968] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea.conf': expression: [substring(pkt4.chaddr,0,3)==0x0a030e] error: <string>:1.11: Invalid character: p at (/usr/local/etc/kea/kea.conf:27:15)
Not liking it. tried both pkt4.chaddr and hwaddr as the lookup. Did I maybe forget a library when I compiled?
-----Original Message-----
From: Francis Dupont [mailto:fdupont at isc.org]
Sent: Tuesday, June 21, 2016 11:43 AM
To: Duane Zimmer <Duane.Zimmer at yourlinkinc.net>
Cc: 'kea-dev at lists.isc.org' <kea-dev at lists.isc.org>
Subject: Re: [kea-dev] Hardware ID as classification
Please try with a hexstring, i.e.,
"test": "substring(hwaddr,0,3) == 0x0a030e"
Regards
Francis Dupont <fdupont at isc.org>
PS: of course hwaddr should be pkt4.chaddr but it is not the point which blocked you.
More information about the kea-dev
mailing list