diff options
author | Ermal <eri@pfsense.org> | 2014-02-20 20:19:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-20 20:19:48 +0000 |
commit | 8b731067d807c415c7d411d59a25278b064b5c15 (patch) | |
tree | 78871c372cc1112e2a330aadc661c554d436f823 /etc/inc/IPv6.inc | |
parent | 77148acc985691da628369cc762f81a8b87d258f (diff) | |
download | pfsense-8b731067d807c415c7d411d59a25278b064b5c15.zip pfsense-8b731067d807c415c7d411d59a25278b064b5c15.tar.gz |
Correct obvious bug in IPv6.inc
Diffstat (limited to 'etc/inc/IPv6.inc')
-rw-r--r-- | etc/inc/IPv6.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/IPv6.inc b/etc/inc/IPv6.inc index 61b6cd8..ed8bbec 100644 --- a/etc/inc/IPv6.inc +++ b/etc/inc/IPv6.inc @@ -874,7 +874,7 @@ class Net_IPv6 $ip = $elements[0]; - if('' != $elements[1] && ( !is_numeric($elements[1]) || 0 > $elements || 128 < $elements[1])) { + if('' != $elements[1] && ( !is_numeric($elements[1]) || 0 > $elements[1] || 128 < $elements[1])) { return false; |