37 lines
1.8 KiB
Text
37 lines
1.8 KiB
Text
Description: <short summary of the patch>
|
|
TODO: Put a short summary on the line above and replace this paragraph
|
|
with a longer explanation of this change. Complete the meta-information
|
|
with other relevant fields (see below for details). To make it easier, the
|
|
information below has been extracted from the changelog. Adjust it or drop
|
|
it.
|
|
.
|
|
gonets (0.2-3) UNRELEASED; urgency=medium
|
|
.
|
|
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
|
Author: GOSSYS LLC <devteam@gossys.dev>
|
|
|
|
---
|
|
The information above should follow the Patch Tagging Guidelines, please
|
|
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
|
|
are templates for supplementary fields that you might want to add:
|
|
|
|
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
|
|
Bug: <upstream-bugtracker-url>
|
|
Bug-Debian: https://bugs.debian.org/<bugnumber>
|
|
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
|
Forwarded: (no|not-needed|<patch-forwarded-url>)
|
|
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
|
|
Reviewed-By: <name and email of someone who approved/reviewed the patch>
|
|
Last-Update: 2025-05-12
|
|
|
|
--- gonets-0.2.orig/SRV/services/ip_service.py
|
|
+++ gonets-0.2/SRV/services/ip_service.py
|
|
@@ -28,7 +28,7 @@ class IPService:
|
|
clients = self.arp_scanner.scan_network()
|
|
new_ip = args["ipv4_updates"]["ipv4.address-data"][0]["address"]
|
|
if any(client['ip'] == new_ip for client in clients):
|
|
- return {"available": False, "message": f"IP address {new_ip} уже доступен."}
|
|
+ return {"available": False, "message": f"IP address {new_ip} уже занят."}
|
|
return {"available": True, "message": "Network profile settings are available for use."}
|
|
|
|
async def apply_ip_config(self, args: Dict[str, Any]) -> None:
|