Correct obvious bug in checkIPv6

Spotted by Ermal in pfSense https://github.com/pfsense/pfsense/commit/8b731067d807c415c7d411d59a25278b064b5c15