[Pdns-users] LUA iputils netmaskgroup match

Niels Peen niels at peen.ch
Thu Feb 19 16:40:47 UTC 2015


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 not possible? If so, could this be considered for a future release?

Thanks,
Niels



More information about the Pdns-users mailing list