mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 06:35:31 -04:00
Properly progress through the list of IPv6 addresses using in6_addr size.
Right now if a jail has multiple IPv6 addresses, it will print them
shifting only 4 bytes at a time. Example:
2001:4dd0:ff41::b23f:a9
2001:4dd0:ff41::b23f:aa
Becomes:
2001:4dd0:ff41::b23f:a9
ff41::b23f:a9:2001:4dd0
By casting to in6_addr, it uses the correct offsets.
|
||
|---|---|---|
| .. | ||
| jls.8 | ||
| jls.c | ||
| Makefile | ||