Permalink
Commits on May 25, 2016
  1. Create README.md

    kenguest committed May 25, 2016
Commits on Feb 23, 2015
  1. Fix Net_IPv6::compress() to properly handle all-zeros address

    The existing implementation of Net_IPv6::compress produces an empty
    string when compressing the all-zeros ("::") address; fix this by
    checking for empty return values and replacing them with "::".
    
    Relevant RFC is https://tools.ietf.org/html/rfc2373#section-2.2
    
    > For example the following addresses:
    >     0:0:0:0:0:0:0:0             the unspecified addresses
    > may be represented as:
    >     ::                          the unspecified addresses
    razzfazz committed with cweiske Feb 23, 2015
  2. fix test failure

    cweiske committed Feb 23, 2015
Commits on Mar 28, 2014
  1. Merge pull request #8 from pear/add_travis

    Add travis
    CloCkWeRX committed Mar 28, 2014
Commits on Mar 23, 2014
  1. Merge pull request #9 from pear/fix_package

    Fix package
    CloCkWeRX committed Mar 23, 2014
Commits on Mar 22, 2014
  1. Add missing dates

    CloCkWeRX committed Mar 22, 2014
  2. Regenerate package

    CloCkWeRX committed Mar 22, 2014
  3. Fix PHPUnit

    CloCkWeRX committed Mar 22, 2014
  4. Fail more obviously

    CloCkWeRX committed Mar 22, 2014
  5. Add travis

    CloCkWeRX committed Mar 22, 2014
Commits on Mar 13, 2014
  1. Merge pull request #7 from phil-davis/patch-1

    Remove double semi-colon
    CloCkWeRX committed Mar 13, 2014
Commits on Mar 12, 2014
  1. Remove double semi-colon

    A little code cleanup noticed by @ayvis
    phil-davis committed Mar 12, 2014
Commits on Mar 2, 2014
  1. Merge pull request #6 from pear/topics/test-for-pr5

    Topics/test for pr5
    CloCkWeRX committed Mar 2, 2014
Commits on Mar 1, 2014
  1. Fix: fix failing tests

     * forgot to take over 'force' parameter
    till committed Mar 1, 2014
  2. Fix: CS

    till committed Mar 1, 2014
Commits on Feb 28, 2014
  1. Enhancement: phpunit configuration

     * disable errors for E_STRICT (more a hack)
    till committed Feb 28, 2014
  2. Fix: CS

    till committed Feb 28, 2014
  3. Fix: CS

    till committed Feb 28, 2014
  4. Enhancement: move more tests

    till committed Feb 28, 2014
  5. Enhancement: spin off bug related tests

     * moved tests to new test case
     * also added the test case from #5 (cc @phil-davis)
    till committed Feb 28, 2014
Commits on Feb 23, 2014
  1. Merge pull request #5 from phil-davis/trunk

    Correct obvious bug in checkIPv6
    CloCkWeRX committed Feb 23, 2014
Commits on Feb 21, 2014
  1. Merge pull request #4 from pear/topics/composer-for-pear

    Updated/New Composer support for Net_IPv6
    till committed Feb 21, 2014
  2. Fix: license and require

    till committed Feb 21, 2014
  3. Correct obvious bug in checkIPv6

    Spotted by Ermal in pfSense pfsense/pfsense@8b73106
    Phil Davis committed Feb 21, 2014
Commits on Feb 18, 2014
  1. Enhancement: composer setup

    till committed Feb 18, 2014
Commits on Feb 17, 2014
  1. Enhancement: composer setup

    till committed Feb 17, 2014
Commits on Apr 28, 2013
  1. Merge pull request #3 from phil-davis/trunk

    Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address
    CloCkWeRX committed Apr 28, 2013
Commits on Mar 13, 2013
  1. Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address

    checkIPv6 returns "true" for addresses like:
    1::2:3:4:5:6:7:8:9
    1:2::3:4:5:6:7:8:9
    ...
    1:2:3:4:5:6:7::8:9
    1:2:3:4:5:6:7:8::9
    these also emit the message:
    Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /etc/inc/IPv6.inc
    It is fixed by making uncompress() always insert at least one ":0:" for any "::" in the address - a "::" always implies at least ":0:". This removes the str_repeat() warning, and means that the uncompressed IPv6 address has >8 numbers in it, so it fails the later validity check, because does not have exactly 8 hex numbers.
    Phil Davis committed Mar 13, 2013
Commits on Mar 12, 2013
  1. Merge pull request #2 from phil-davis/3ee9d1cdfbe97d706425b2339383d5b…

    …278616472
    
    IPv6.php typos
    gauthierm committed Mar 12, 2013
Commits on Feb 10, 2013
  1. IPv6.php typos

    While looking at this code (used in pfSense) I noticed a few typos in the comments, thought it worthwhile tidying them up for a future release.
    Phil Davis committed Feb 10, 2013
Commits on Apr 10, 2012
  1. PHP Fatal error: Class 'PHPUnit_Runner_BaseTestRunner' not found in /…

    …usr/share/php/PHPUnit/TextUI/TestRunner.php on line 60
    
    git-svn-id: http://svn.php.net/repository/pear/packages/Net_IPv6/trunk@325015 c90b9560-bf6c-de11-be94-00142212c4b1
    CloCkWeRX committed Apr 10, 2012