mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 08:41:32 -04:00
Fixed errors
This commit is contained in:
parent
680650f86c
commit
3326329c29
1 changed files with 3 additions and 3 deletions
|
@ -400,7 +400,7 @@ export function expandIpv6(ipStr) {
|
||||||
if (ipStr.length === 39) {
|
if (ipStr.length === 39) {
|
||||||
return ipStr;
|
return ipStr;
|
||||||
}
|
}
|
||||||
const blockArray = ipStr.split(':');
|
const blockArray = ipStr.split(":");
|
||||||
let reconstructed = "";
|
let reconstructed = "";
|
||||||
blockArray.forEach((a) => {
|
blockArray.forEach((a) => {
|
||||||
for (let i = a.length; i < 4; i++) {
|
for (let i = a.length; i < 4; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue