Supporting filtering prefixes and IP addresses by mask length #716

Closed
opened 2025-12-29 16:25:03 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 17, 2017).

PostgreSQL provides a masklen() function to match on the mask length of a prefix or IP address. Should be trivial to write a filter to support matching masks equal to, greater than, or less than a given value. (This would probably need to be used in conjunction with filtering by address family.)

Originally created by @jeremystretch on GitHub (Feb 17, 2017). PostgreSQL provides a `masklen()` function to match on the mask length of a prefix or IP address. Should be trivial to write a filter to support matching masks equal to, greater than, or less than a given value. (This would probably need to be used in conjunction with filtering by address family.)
adam added the type: feature label 2025-12-29 16:25:03 +01:00
adam closed this issue 2025-12-29 16:25:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#716