You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2014/10/14 15:31:33 UTC

[jira] [Resolved] (NET-556) Make SubnetInfo.isInRange(int) public

     [ https://issues.apache.org/jira/browse/NET-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-556.
----------------------
       Resolution: Fixed
    Fix Version/s: 3.4

> Make SubnetInfo.isInRange(int) public
> -------------------------------------
>
>                 Key: NET-556
>                 URL: https://issues.apache.org/jira/browse/NET-556
>             Project: Commons Net
>          Issue Type: Wish
>            Reporter: Andy Rosa
>             Fix For: 3.4
>
>
> I have 20-30 sub-nets and i need to check whether some IP belong to one of them or not, and i need to do it for each requests. In case of using SubnetInfo.isInRange(String) IP will be parsed up to 30 times per each request. Much more better for performance parse IP once and just call SubnetInfo.isInRange(int) for each Subnet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)