Re: [Pdns-users] LUA iputils netmaskgroup match

2015-02-20 Thread bert hubert
On Thu, Feb 19, 2015 at 05:40:47PM +0100, Niels Peen wrote: Hello, I’m using a netmaskgroup to see if a given IP matches: if nmg:match(ca) then .. This works very well but I would like to know which specific netmask matched. E.g. by having :match (also) return the matching netmask

[Pdns-users] LUA iputils netmaskgroup match

2015-02-19 Thread Niels Peen
Hello, I’m using a netmaskgroup to see if a given IP matches: if nmg:match(ca) then .. This works very well but I would like to know which specific netmask matched. E.g. by having :match (also) return the matching netmask rather than (just) returning true. Am I correct that this is currently