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

myip breaks if network interface is not en0 #1

Closed
switchswap opened this issue Mar 7, 2020 · 1 comment
Closed

myip breaks if network interface is not en0 #1

switchswap opened this issue Mar 7, 2020 · 1 comment

Comments

@switchswap
Copy link

switchswap commented Mar 7, 2020

My laptop uses en1 as it's wireless interface so this script returns a blank line for my private IP address.

I think it's because the code is searching for the en0 interface.

@austintraver
Copy link
Owner

Thank you for bringing this to my attention @switchswap ❤️ , fixed in 593421b

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

No branches or pull requests

2 participants