Re: [PacketFence-users] PF 8.1.9 adding dhcp options with the API

2018-10-04 Thread Durand fabrice via PacketFence-users
Hello Anders, i have to work on the dhcp code to add more flexibility to add options on the fly. Btw i will test on my side to see if i can reproduce the issue. Regards Fabrice Le 2018-10-04 à 08:09, Anders Westerberg via PacketFence-users a écrit : Hi Trying to use the dhcp API https

[PacketFence-users] PF 8.1.9 adding dhcp options with the API

2018-10-04 Thread Anders Westerberg via PacketFence-users
Hi Trying to use the dhcp API https://github.com/inverse-inc/packetfence/tree/devel/go/dhcp and add dhcp option 160 (https://tools.ietf.org/html/rfc7710) with a line like this: curl -H "Content-Type: application/json" -d '[{"option":160,"value":"https://captiveportaluri","type":"string"}]' ht