mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-12 09:11:37 -04:00
Added sorting functionality
This commit is contained in:
parent
8ae5fd084c
commit
588cd93900
2 changed files with 20 additions and 4 deletions
|
@ -351,6 +351,7 @@ export function ipv4ToStr(ipInt) {
|
|||
*/
|
||||
export function strToIpv6(ipStr, retArr=true) {
|
||||
if (retArr === false) {
|
||||
// TODO: Expand address.
|
||||
if (ipStr.length % 2 === 1) {
|
||||
ipStr = "0" + ipStr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue