Skip to content

Check the type of IP address for master list #687

Closed

Description

@Disinterpreter

Describe the bug
Make sure that IP address which was sent to MasterList is v4-compatible.

To Reproduce
Steps to reproduce the behavior:
Assign IPv6 address to the main interface
Start a Linux server

Expected behavior
The server must check the IP-address of the interface or uses public STUN if it necessary(I don't need STUN is important)

Screenshots and/or logs

[2023-06-22T17:33:30+0300] [Info] Failed to announce legacy network to open.mp list.
        [Server Error] Status: 406
        [Server Error] Message: {"error":"failed to query server: failed to resolve host: address 2001:HEXTET:HEXTET:HEXTET::HEXTET:7777: too many colons in address"}

Commit hash in master
Starting open.mp server (1.0.1.2550) from commit f6839d90937ea313db46f64709b4314cc76e9250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugnightly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions