I'm happy with this in principle, a few things need to be looked at
1) lease->last_interface to interface name conversion should be done
using indextoname(), see helper.c line 779 as an example.
2) the addition of the new signal to the introspection data should be
inside the #ifdef HAVE_DHCP,
Seems like a good thing to do. I took the opportunity to re-implement in
the same code style at the existing code, but the functionality (should
be) the same.
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=ab53883c94f94958e22077c79ba1dae1850a475e
Cheers,
Simon.
On 08/01/2020
On 08/01/2020 09:32, Harald Jensås wrote:
> On Tue, 2020-01-07 at 21:51 +, Simon Kelley wrote:
>> On 23/12/2019 11:24, Harald Jensas wrote:
>>> Hi,
>>>
>>> The patch below is a slight alteration to a possible solution
>>> discussed in
>>>
Hi Simon,
Many thanks on this, really nice idea with linked list, i was really afraid
of realloc compatibility issue with variety of platforms you support. Look
forward for dnsmasq-2.81.
On Fri, Jan 10, 2020 at 12:47 PM Simon Kelley
wrote:
> Seems like a good thing to do. I took the