Correct obvious bug in checkIPv6

Spotted by Ermal in pfSense https://github.com/pfsense/pfsense/commit/8b731067d807c415c7d411d59a25278b064b5c15
Merge pull request #5 from phil-davis/trunk

Correct obvious bug in checkIPv6