[ 
https://issues.apache.org/jira/browse/NET-660?focusedWorklogId=235983&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-235983
 ]

ASF GitHub Bot logged work on NET-660:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/May/19 20:42
            Start Date: 01/May/19 20:42
    Worklog Time Spent: 10m 
      Work Description: markt-asf commented on pull request #32: [NET-660] Next 
and Previous IP Address in SubnetUtils.SubnetInfo
URL: https://github.com/apache/commons-net/pull/32
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 235983)
            Time Spent: 10m
    Remaining Estimate: 1h 50m  (was: 2h)

> Next and Previous IP Address in SubnetUtils.SubnetInfo
> ------------------------------------------------------
>
>                 Key: NET-660
>                 URL: https://issues.apache.org/jira/browse/NET-660
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Nagabhushan S N
>            Priority: Minor
>              Labels: easyfix, newbie
>   Original Estimate: 2h
>          Time Spent: 10m
>  Remaining Estimate: 1h 50m
>
> In SubnetUtils.SubnetInfo, like we get address, netmask, lowAddress, 
> highAddress, it would be useful to get next address and previous address as 
> well.
> Suppose, I create a SubnetUtils as
> SubnetUtils utils = new SubnetUtils("10.10.10.34/24")
>  SubnetUtils.SubnetInfo info = utils.getInfo();
> It would be useful to have getNextAddress() and getPreviousAddress()
> String nextAddress = info.getNextAddress();
>  String previousAddress = info.getPreviousAddress();
> SubnetUtils.SubnetInfo nextInfo = utils.getNext().getInfo();
>  SubnetUtils.SubnetInfo previousInfo = utils.getPrevious().getInfo();
>  
> GitHub Pull Request Link:
> https://github.com/apache/commons-net/pull/32



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to