On Thu, 2009-11-12 at 17:10 +0000, Salisbury, Mark wrote:
> The patch isn't specific to numbers, the key to the patch is that it will 
> match based on the beginning of the string instead of the end.  So it should 
> work with IPv6 subnets too (I assume that the same concept is applicable with 
> IPv6 where the beginning of the address identifies the larger network, 
> eventually getting down to a specific host at the right end of the address).

String-based matching does seem a little bit unwholesome to me.  I agree
with the previous comments that a CIDR scheme would be better, so in
your example above you would write "192.168.0.0/16".  This seems like it
would map much better to real-world use cases for both v4 and v6.

p.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to