content-type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-RT-Original-Encoding: iso-8859-1 Content-Length: 1396

Hello,


I would like to propose new feature to dhcrelay.


Our use case:

There are scenarios when dhcrelay is started in IPv4 mode with a lot of interfaces when some of them do not have assigned address (yet).

During runtime the addresses are assigned/changed. To avoid situation when we would be forced to rerun (this takes few seconds) dhcrelay process, we have come up with solution where we would send signal to dhcrelay to refresh information about addresses assigned to interface.


In attachment I am sending diff for review. The diff is compatible with ISC dhcp 4.3.5 


To enable proposed feature is configured as optional and is using SIGUSR2 since SIGHUP is used for different purposes:


./configure --enable-reload-on-sigusr2 && make


Jakub Jastrzębski