KeeneticPy 2.3__tar.gz → 2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy/Keenetic.py +4 -2
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy.egg-info/PKG-INFO +1 -1
- {keeneticpy-2.3 → keeneticpy-2.5}/PKG-INFO +1 -1
- {keeneticpy-2.3 → keeneticpy-2.5}/setup.py +1 -1
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy/BGPTools.py +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy/__init__.py +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy.egg-info/SOURCES.txt +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy.egg-info/dependency_links.txt +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy.egg-info/requires.txt +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/KeeneticPy.egg-info/top_level.txt +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/LICENSE +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/MANIFEST.in +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/README.md +0 -0
- {keeneticpy-2.3 → keeneticpy-2.5}/setup.cfg +0 -0
|
@@ -198,7 +198,7 @@ class Keenetic:
|
|
|
198
198
|
]
|
|
199
199
|
)
|
|
200
200
|
|
|
201
|
-
self.clean_multiple_routes()
|
|
201
|
+
# self.clean_multiple_routes() # ! Sanırım bu işi Keenetic zaten yapıyor
|
|
202
202
|
|
|
203
203
|
return istek.status_code == 200
|
|
204
204
|
|
|
@@ -231,6 +231,8 @@ class Keenetic:
|
|
|
231
231
|
else:
|
|
232
232
|
konsol.log(f"[red][!] {subnet} » {veri.get('comment')} » eklenemedi!")
|
|
233
233
|
|
|
234
|
+
return True
|
|
235
|
+
|
|
234
236
|
for ip in domain_data["ipler"]:
|
|
235
237
|
veri = {"comment": domain_data["domain"], "host": ip, "interface": interface}
|
|
236
238
|
if self.add_static_route(**veri):
|
|
@@ -281,5 +283,5 @@ class Keenetic:
|
|
|
281
283
|
eldekiler.add(veri)
|
|
282
284
|
continue
|
|
283
285
|
|
|
284
|
-
konsol.log("[red][!] Eş bir kayıt bulundu ve silindi! » "
|
|
286
|
+
konsol.log(f"[red][!] Eş bir kayıt bulundu ve silindi! » {route}")
|
|
285
287
|
self.del_static_route(**route)
|
|
@@ -6,7 +6,7 @@ from io import open
|
|
|
6
6
|
setup(
|
|
7
7
|
# ? Genel Bilgiler
|
|
8
8
|
name = "KeeneticPy",
|
|
9
|
-
version = "2.
|
|
9
|
+
version = "2.5",
|
|
10
10
|
url = "https://github.com/keyiflerolsun/KeeneticPy",
|
|
11
11
|
description = "Python Lib for Keenetic Routers",
|
|
12
12
|
keywords = ["KeeneticPy", "KekikAkademi", "keyiflerolsun"],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|