Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] The peer info misplaced when no country flag returned. #1958

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

AD590
Copy link
Contributor

@AD590 AD590 commented Oct 8, 2024

Fixes #1872

Occasionally the peer host gets the gateway IP which is a local IP address(as 192.168.0.1). Check whether to add blank before getting the flag.

Screenshot 2024-10-08 134725

…void displacement

Occasionally the peer host gets the gateway IP which is a local IP address(as 192.168.0.1), with no country flag returned, cause the displacement of the host and other stuff.
@AD590 AD590 requested review from WDaan and Larsluph as code owners October 8, 2024 06:00
@Larsluph Larsluph merged commit 1e7b288 into VueTorrent:master Oct 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: A Peer IP without a Country Flag Messes up Peers View
2 participants