-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ipv4_to_ipv6 output "human-readable" addrs
The requirements keep changing back and forth, but apparently, it was still important that the resulting IPv6 address was somewhat human-readably similar to the original IPv4 address. Also, it isn't always necessary to keep the full IPv4 address inside the IPv6 address. Mostly, the host address from the IPv4 subnetwork should be readable as the same on the corresponding IPV6 subnetwork, so an option to keep only a number of IPv4 octets in the result was added.
- Loading branch information
1 parent
88e6270
commit 14f8734
Showing
2 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters