diff --git a/debian/changelog b/debian/changelog index e04d2a2..4c66771 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +omr-vps-admin (0.14+20241216) unstable; urgency=medium + + * Fix typos + + -- OpenMPTCProuter Mon, 16 Dec 2024 15:41:21 +0200 + omr-vps-admin (0.14+20241125) unstable; urgency=medium * Block removal of userid 0 diff --git a/omr-admin.py b/omr-admin.py index 3ae58ae..1bcf83d 100755 --- a/omr-admin.py +++ b/omr-admin.py @@ -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 @@ 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'