Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Dec 16, 2024
1 parent be866bf commit 530d20c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
omr-vps-admin (0.14+20241216) unstable; urgency=medium

* Fix typos

-- OpenMPTCProuter <[email protected]> Mon, 16 Dec 2024 15:41:21 +0200

omr-vps-admin (0.14+20241125) unstable; urgency=medium

* Block removal of userid 0
Expand Down
4 changes: 2 additions & 2 deletions omr-admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -3544,7 +3544,7 @@ def main(omrport: int, omrhost: str, workers: int):
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'
Expand Down

0 comments on commit 530d20c

Please sign in to comment.