Hi Simon, Another update to reduce the amount of work for you. This thread should supersede the other one.
I made ipset.c a bit nicer for dnsmasq by using struct all_addr. New patch to replace all old ones: View: http://git.zx2c4.com/dnsmasq-ipset/commit/?id=b93018649a533a341b724e3323011714a84d5ef0 Patch: http://git.zx2c4.com/dnsmasq-ipset/patch/?id=b93018649a533a341b724e3323011714a84d5ef0 I added some sample code for where it could be successfully integrated with a simple /* TODO */ that should be filled out with the server lookup / matching logic, which I'll leave to you: View: http://git.zx2c4.com/dnsmasq-ipset/commit/?id=954a63cda0fa08e5ed0f18a81a226669c3dc5039 Patch: http://git.zx2c4.com/dnsmasq-ipset/patch/?id=954a63cda0fa08e5ed0f18a81a226669c3dc5039 If I do further work on this, the code will be found at: http://git.zx2c4.com/dnsmasq-ipset/ Looking forward. Jason _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss