Версия 0.0.2
This commit is contained in:
commit
7b9c998224
530 changed files with 424916 additions and 0 deletions
37
debian/patches/2
vendored
Normal file
37
debian/patches/2
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue