1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps-admin.git synced 2025-02-12 10:31:52 +00:00

Fix typos

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-12-16 15:42:09 +01:00
parent be866bf752
commit 530d20c6b4
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
omr-vps-admin (0.14+20241216) unstable; urgency=medium
* Fix typos
-- OpenMPTCProuter <contact@openmptcprouter.com> Mon, 16 Dec 2024 15:41:21 +0200
omr-vps-admin (0.14+20241125) unstable; urgency=medium
* Block removal of userid 0

View file

@ -3526,7 +3526,7 @@ async def speedtestul(file: UploadFile, current_user: User = Depends(get_current
def ipv6_enabled():
ipv6_enabled = False
addr = netifaces.ifaddresses('lo')
addrs = netifaces.ifaddresses('lo')
ipv4_addr_list = addrs[netifaces.AF_INET]
for ip_info in ipv4_addr_list:
addr = ip_info['addr']
@ -3544,7 +3544,7 @@ if __name__ == '__main__':
omrport = 65500
if 'port' in omr_config_data:
omrport = omr_config_data["port"]
if ipv6_enabled:
if ipv6_enabled():
omrhost = '::'
else:
omrhost = '0.0.0.0'