Open nielspeen opened 9 years ago
NMG no longer just 'tries all addresses', the new code might make this feature a lot easier to implement.
+1
I would like to identify the matching Netmask so that I can use the additional information in the reply.
In my case, this information is being used elsewhere to update a firewall rule, where it would be more convenient to match an entire mask rather than a single IP
Additionally, there does not appear to be an easy way to read the NetMasksGroup object to review the existing masks
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:
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?