Hi Ronald
You are mistaken :) The query string can be a single IP address or CIDR or a
range. And the range doesn't even need to be an exact matching range. So if you
search for:
x.y.0.0 - x.y.0.100
and the actual object in the database is:
x.y.0.0 - x.y.0.255
it will still return this database object. As long as the search string is
encompassed by the actual object.
cheersdenis
co-chair DB-WG
On Thursday, 1 October 2020, 04:42:38 CEST, Ronald F. Guilmette via db-wg
<[email protected]> wrote:
On a related but different point...
>Let me give some background on this. Objects in the database are accessed b=
>y their primary key (pkey). In the case of an INETNUM object, for instance,=
>this is an address range...
Actually, not to quibble or anything, but unless I'm mistaken, the query
string has to be either a single IP address or a single CIDR.
I only mention this because some allocations are what I would call
"funny", i.e. they are not expressible as a single CIDR.
Regards,
rfg