From faf1d995a84d1cfaf8e630d21b4e124d7f4b9b29 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 12 Oct 2025 15:20:38 +0200 Subject: [PATCH] fix parsing IP addresses in UI (ip-address lib was updated to V10) --- frontend/src/helpers/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/helpers/utils.js b/frontend/src/helpers/utils.js index 30d3a63..3e6b05e 100644 --- a/frontend/src/helpers/utils.js +++ b/frontend/src/helpers/utils.js @@ -4,12 +4,12 @@ export function ipToBigInt(ip) { // Check if it's an IPv4 address if (ip.includes(".")) { const addr = new Address4(ip) - return addr.bigInteger() + return addr.bigInt() } // Otherwise, assume it's an IPv6 address const addr = new Address6(ip) - return addr.bigInteger() + return addr.bigInt() } export function humanFileSize(size) {