Skip to content

1.8.0 refactor and allow for Mac.addr.list to work via Mac::from_getifaddrs - #37

Open
travishooper wants to merge 1 commit into
ahoward:masterfrom
travishooper:1.8.0
Open

1.8.0 refactor and allow for Mac.addr.list to work via Mac::from_getifaddrs#37
travishooper wants to merge 1 commit into
ahoward:masterfrom
travishooper:1.8.0

Conversation

@travishooper

@travishooper travishooper commented Nov 7, 2019

Copy link
Copy Markdown

I was having some issues around running Mac.addr.list. I saw the issue was that list method wasn't being defined on the Mac.addr return value when it used Mac.from_getifaddrs to set the value. So I fixed that, and also did a bit of refactoring to get a better feel for what all is happening while maintaining the original API.

This should fix issue #26

Test and works on OSX and Fedora 31, both using Ruby 2.6.3.

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