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: use net module instead of exe os command #23

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

HJ-Fan
Copy link
Collaborator

@HJ-Fan HJ-Fan commented Aug 1, 2024

This removes the os dependency on host ip detection
This method dials the public dns to see the host IP.
If the host is in a complete private network, it might fail.
In this case, the user could use the input argument to specify host IP

@HJ-Fan HJ-Fan force-pushed the fix/remove-os-dependent-for-ip-detection branch from 83edc63 to 25d3346 Compare August 7, 2024 18:06
This removes the os dependency on host ip detection
This method dials the public dns to see the host IP.
If the host is in a complete private network, it might fail.
In this case, the user could use the input argument to specify host IP
@HJ-Fan HJ-Fan merged commit 3622498 into main Aug 7, 2024
5 checks passed
@HJ-Fan HJ-Fan deleted the fix/remove-os-dependent-for-ip-detection branch August 7, 2024 19:59
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.

1 participant