Skip to content

Conversation

@BornToBeRoot
Copy link
Owner

@BornToBeRoot BornToBeRoot commented Dec 28, 2025

Changes proposed in this pull request

  • Add Fallback IP detection via Network Interface

Related issue(s)

To-Do

Contributing

By submitting this pull request, I confirm the following:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds fallback IP detection functionality that attempts to detect local IP addresses via network interfaces when the routing-based detection method fails. This improves reliability in scenarios where routing-based detection is unavailable or unsuccessful.

Key Changes:

  • Added fallback mechanism using DetectLocalIPAddressFromNetworkInterfaceAsync when routing-based IP detection returns null
  • Implemented for both IPv4 and IPv6 address detection in both CheckConnectionComputerAsync and CheckConnectionRouterAsync methods
  • Added debug logging for fallback attempts in CheckConnectionComputerAsync

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mergify mergify bot merged commit 5efee54 into main Dec 28, 2025
4 checks passed
@mergify mergify bot deleted the feature/3294-dashboard-check branch December 28, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard - Enhance local IP detection

2 participants