mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-05-13 14:56:18 +00:00
Compare commits
1 Commits
#1257-fix
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b16f0aa3c2 |
@@ -1314,11 +1314,11 @@ def API_ping_getAllPeersIpAddress():
|
||||
for x in allowed_ip:
|
||||
try:
|
||||
ip = ipaddress.ip_network(x, strict=False)
|
||||
if ip.num_addresses == 1:
|
||||
parsed.append(str(ip.network_address))
|
||||
except ValueError as e:
|
||||
app.logger.error(f"Failed to parse IP address of {p.id} - {c.Name}")
|
||||
|
||||
host = list(ip.hosts())
|
||||
if len(host) == 1:
|
||||
parsed.append(str(host[0]))
|
||||
endpoint = p.endpoint.replace(" ", "").replace("(none)", "")
|
||||
if len(p.name) > 0:
|
||||
cips[f"{p.name} - {p.id}"] = {
|
||||
|
||||
18
src/static/app/package-lock.json
generated
18
src/static/app/package-lock.json
generated
@@ -16,7 +16,7 @@
|
||||
"animate.css": "^4.1.1",
|
||||
"bootstrap": "^5.3.2",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"cidr-tools": "^11.3.3",
|
||||
"cidr-tools": "^11.3.5",
|
||||
"css-color-converter": "^2.0.0",
|
||||
"dayjs": "^1.11.19",
|
||||
"electron-builder": "^26.7.0",
|
||||
@@ -2360,14 +2360,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/cidr-tools": {
|
||||
"version": "11.3.3",
|
||||
"resolved": "https://registry.npmjs.org/cidr-tools/-/cidr-tools-11.3.3.tgz",
|
||||
"integrity": "sha512-3fHQpk8DxUjO/nuoo9gTDpOKQDHoHarCxU3b7bkAq/nMHm54ADqoSQRF3l/GVbnOEtt5wfo/3vTEp4imLb7BZQ==",
|
||||
"version": "11.3.5",
|
||||
"resolved": "https://registry.npmjs.org/cidr-tools/-/cidr-tools-11.3.5.tgz",
|
||||
"integrity": "sha512-cu6KcxIZRKlvcTrMWbUZU6LQ/mKSUNhjktDpgSZASoUF7pAJPk038BtwOIgCpbtjfOLpAWCh/y8+sE6YCEIXxw==",
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"ip-bigint": "^8.3.4"
|
||||
"ip-bigint": "^8.3.6"
|
||||
},
|
||||
"engines": {
|
||||
"bun": "*",
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
@@ -3792,11 +3793,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/ip-bigint": {
|
||||
"version": "8.3.4",
|
||||
"resolved": "https://registry.npmjs.org/ip-bigint/-/ip-bigint-8.3.4.tgz",
|
||||
"integrity": "sha512-W34SH99LpEuCGlX+pv5EM8m57EMfm01o19Os2oQEHsmQVkHcIHtAU/YfpGFTAzUqM65e3GKA1JK/bHhNL1Ag4Q==",
|
||||
"version": "8.3.6",
|
||||
"resolved": "https://registry.npmjs.org/ip-bigint/-/ip-bigint-8.3.6.tgz",
|
||||
"integrity": "sha512-IRan4ty1RP2aI0MDQtfEs6gGtjDLb/4808xm21BK+ytLquz8FLiWQlepONVcQycjku3HPPEPPUcg9Om8hdOzJQ==",
|
||||
"license": "BSD-2-Clause",
|
||||
"engines": {
|
||||
"bun": "*",
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"animate.css": "^4.1.1",
|
||||
"bootstrap": "^5.3.2",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"cidr-tools": "^11.3.3",
|
||||
"cidr-tools": "^11.3.5",
|
||||
"css-color-converter": "^2.0.0",
|
||||
"dayjs": "^1.11.19",
|
||||
"electron-builder": "^26.7.0",
|
||||
|
||||
Reference in New Issue
Block a user