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

Addresses #169

Open
elmcapp opened this issue Dec 1, 2022 · 1 comment
Open

Addresses #169

elmcapp opened this issue Dec 1, 2022 · 1 comment

Comments

@elmcapp
Copy link

elmcapp commented Dec 1, 2022

I like to know if you could add a key for each address

example:
addresses:[
{
Mac: 'fe80::b09c:4aff:f',
ip4: '123.456.3.56
]

This way we know what kind of address we are working with.

At first I could do addresses[0] and if would always get the ipv4 however with new update of macOS and iOS the ipv4 is not always first, sometimes I get the Mac address first.

I need to make sure I always get the ip address

@pghalliday
Copy link

FYI I realise this was raised a year ago but that's not the MAC address, it's an IPV6 address

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