On Feb 23, 2011, at 13:49, John R Pierce wrote: > On 02/23/11 4:44 AM, Stephane Bortzmeyer wrote: >>> *3. Start-End IP format :* 1.2.3.0-1.2.3.255 >> You don't even need to program the conversion, it is already done: >> >> % netmask 1.2.3.0:1.2.3.255 >> 1.2.3.0/24 > > yes, but what about 10.1.2.57-10.1.2.123 ? presumably valid in his range system, and certainly NOT a valid CIDR range. If it hasn't been mentioned already, take a look at ip4r. <http://pgfoundry.org/projects/ip4r/> Michael Glaesemann grzm seespotcode net -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general