Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Error last ip address in info.network #5

Closed
ddrv opened this issue Dec 29, 2017 · 0 comments
Closed

Error last ip address in info.network #5

ddrv opened this issue Dec 29, 2017 · 0 comments
Assignees
Milestone

Comments

@ddrv
Copy link
Owner

ddrv commented Dec 29, 2017

What steps will reproduce the problem?

<?php
/*
 * Some code
 */
$iptool = new Iptool($dbFile);
$info = $iptool->find($ip);
print_r($info);

What is the expected result?

Array
(
    [network] => Array
        (
            [first] => 114.12.70.0
            [last] => 114.12.70.255
        )
    ...
)

What do you get instead?

Array
(
    [network] => Array
        (
            [first] => 114.12.70.0
            [last] => 114.12.71.0
        )
    ...
)

Additional info

Q A
IP Tool version 1.0.7
PHP version 7.0
Operating system Linux Mint
@ddrv ddrv added the bug label Dec 29, 2017
@ddrv ddrv closed this as completed in f903e5d Dec 29, 2017
@ddrv ddrv added the Iptool label Dec 29, 2017
@ddrv ddrv self-assigned this Jan 9, 2018
@ddrv ddrv added this to the 1.0.8 milestone Jan 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant