bigbadhacker / proxy-vole

Automatically exported from code.google.com/p/proxy-vole
0 stars 0 forks source link

isInNet in PacScriptMethods has problems with subnets that have pieces that are not 255 or 0 #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
call isInNet("10.13.75.47", "10.13.72.0", "255.255.252.0") this should return 
true

I'm attaching my changes to the file.

If you can incorporate the changes, that would be great.

Let me know if I can be of assistance in any way.

Thanks,

Jeff Stano

Original issue reported on code.google.com by jeff%sta...@gtempaccount.com on 22 Mar 2011 at 2:00

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Jeff,
Well yes that method was still a prototype implementation and I forgot to fix 
it.
Your supplied patch looks great and I have already applied it and commited it 
to the trunk. Thanks for your contribution.

I will build a new downloadable release including the fix when some more 
changes are in the trunk or when I find the mood to do so.

Have fun,
- Rossi 

Original comment by rosstaus...@googlemail.com on 22 Mar 2011 at 9:14