mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Main repository for pfSense
The Net_IPv6 code has a bug - 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 on line 496 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 validity check (as it should). Plus I fixed various text typos. These changes are also being submitted to the Net_IPv6 repository on GitHUb so they will get fixed in newer versions (if pfSense ever ports them across). |
||
|---|---|---|
| boot | ||
| cf/conf | ||
| conf.default | ||
| etc | ||
| root | ||
| sbin | ||
| tmp | ||
| usr | ||
| .gitattributes | ||
| .gitignore | ||