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

Exception for new SubnetUtils("0.0.0.0/0")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.4
    • None
    • None

    Description

      The following example in SubnetUtils throws an exception:

      SubnetUtils utils = new SubnetUtils("0.0.0.0/0");
      

      As '0.0.0.0/0' is within the IPv4 specification, it should be supported.

      Attachments

        1. permit_all_ips_cidr.patch
          1 kB
          Daniel Scott

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kyrielia Kyriacos Elia
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: