Community discussions

MikroTik App
 
User avatar
doneware
Trainer
Trainer
Topic Author
Posts: 647
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

Feature request: expose received DHCP options to script

Tue Jul 03, 2018 10:20 pm

since 6.39rc33 we have the possibility to run scripts upon DHCP client acquires/releases an address, and certain local variables get populated with actual values.
it would be nice to have all received options inserted into individual variables, like $option43 or as an associative array, where the array index would be a number, like 43 for option 43.

and of course the same should be implemented for ipv6 as well.

this way we could have access to all options without further ROS feature integration.

Who is online

Users browsing this forum: Ahrefs [Bot], daliusm, dervomsee, roemer and 78 guests