From 5565e067efe7f5d46892a8af41152d45c8904d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 22 Jun 2026 20:23:09 +0400 Subject: [PATCH] =?UTF-8?q?export=20padIP:=20=D0=BF=D1=80=D0=BE=D0=B1?= =?UTF-8?q?=D0=B5=D0=BB=D1=8B=20=D0=B2=D0=BE=D0=BA=D1=80=D1=83=D0=B3=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- v2/src/export/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index afda5ff..5eb2968 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipwhitelist", - "version": "0.5.179", + "version": "0.5.180", "description": "IP WhiteList microservice for cloud provider", "main": "server.js", "scripts": { diff --git a/v2/src/export/index.js b/v2/src/export/index.js index ccff215..80dffa7 100644 --- a/v2/src/export/index.js +++ b/v2/src/export/index.js @@ -63,7 +63,7 @@ function createExportRouter() { function padIP(cidr) { const [ip, mask] = cidr.split('/'); const octets = ip.split('.').map(o => o.padStart(3, ' ')); - return octets.join('.') + '/' + mask; + return octets.join('.') + ' / ' + mask; } function renderTable(cidrs) {