Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-556

Make SubnetInfo.isInRange(int) public

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arhimondr Andy Rosa
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: