diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-03-27 00:29:31 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-03-27 00:29:31 -0500 |
commit | 7ca5d812c75e6320d2b5773331a1b223fb29a295 (patch) | |
tree | a9b189128697a0f395e984004440fb6deb963206 | |
parent | 3098bbc4f36f6e0ad1791f61283b141cce6114e8 (diff) | |
parent | 66d78ebc8dd3056a507a4ac82f9f57432fb241b4 (diff) | |
download | pfsense-7ca5d812c75e6320d2b5773331a1b223fb29a295.zip pfsense-7ca5d812c75e6320d2b5773331a1b223fb29a295.tar.gz |
Merge pull request #2788 from phil-davis/patch-3
-rw-r--r-- | src/etc/inc/IPv6.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/IPv6.inc b/src/etc/inc/IPv6.inc index 4493273..7dbf45a 100644 --- a/src/etc/inc/IPv6.inc +++ b/src/etc/inc/IPv6.inc @@ -901,7 +901,7 @@ class Net_IPv6 for ($i = 0; $i < count($ipv6); $i++) { - if(4 < strlen($ipv6[$i])) { + if ((4 < strlen($ipv6[$i])) || (0 == strlen($ipv6[$i]))) { return false; |