bin')),''))",
"code": 67
},
I agree with you.. The syntax is a bit hard to read.
From: Francis Dupont
Sent: 22 January 2021 11:53
To: Søren Andersen
Cc: Francis Dupont ; kea-users@lists.isc.org
Subject: Re: [Kea-users] Support for multip
S?ren Andersen writes:
> Also for the same dhcp-option like this?
>
> options:
> - code: 67
> add: "ifelse(member('cm'),concat('/docsis/', hexstring(pkt4.mac, '')),'' =
> )"
> - code: 67
> add: "ifelse(member('voip'),concat('/', concat(hexstring(pkt4.mac, ''), '=
> .bin')),'')"
=> I do not thi
tring(pkt4.mac, ''),
'.bin')),'')"
From: Francis Dupont
Sent: 21 January 2021 14:42
To: Søren Andersen
Cc: kea-users@lists.isc.org
Subject: Re: [Kea-users] Support for multiple flex options par
Yes multiple actions are supported by the flex option hook.
Thanks
Francis Dupont
___
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 ht
Would it be possible to add support for multiple parameters?
Like this:
{
"library": "/usr/lib64/kea/hooks/libdhcp_flex_option.so",
"parameters": {
"options": [
{
"add": "ifelse(member('cm'),concat('/docsis/',
hexstring(pkt4.mac, '')),'' )",