| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The existing implementation of Net_IPv6::compress produces an empty
string when compressing the all-zeros ("::") address; fix this by
checking for empty return values and replacing them with "::".
|
| |
|
|
|
|
| |
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"
|
| |
|
| |
|
|
|
|
| |
execution time penalities but catches more errors
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
as everything else.
|
| |
|
| |
|
|
|