AW: irrtoolset 5.0.0 release candidate

Michael.Mueller01 at t-systems.com Michael.Mueller01 at t-systems.com
Thu Feb 4 13:08:29 UTC 2010


Hi Nick,

I have made some tests on the rpslcheck:

	the strcasestr checks the value for option "-as" (like 1234 or AS1234)

	a leading "as" (caseinsensitive) in the value is skipped bevor converting

so, the check can be made with a "normal" function (standard C library):

	if (strncasecmp(opt_my_as, "as", 2) == 0) {
		opt_my_as += 2;

Michael.

> -----Ursprüngliche Nachricht-----
> Von: 
> irrtoolset-bounces+michael.mueller01=t-systems.com at lists.isc.o
> rg 
> [mailto:irrtoolset-bounces+michael.mueller01=t-systems.com at lis
> ts.isc.org] Im Auftrag von Nick Hilliard
> Gesendet: Donnerstag, 4. Februar 2010 11:32
> An: irrtoolset at lists.isc.org
> Betreff: Re: irrtoolset 5.0.0 release candidate
> 
> On 04/02/2010 10:23, S.P.Zeidler wrote:
> > what's the copyright for the strcasecmp implementation 
> you're suggesting?
> 
> If there are any licensing issues here, the best thing here 
> may be to copy
> strcasestr() from a BSD distribution and put it into a separate file.
> 
> Nick
> _______________________________________________
> irrtoolset mailing list
> irrtoolset at lists.isc.org
> https://lists.isc.org/mailman/listinfo/irrtoolset
> 



More information about the irrtoolset mailing list