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

Dhcp discover bsd and centos7 #11

Merged
merged 1 commit into from
Nov 18, 2014

Conversation

psschroeter
Copy link

Changes to get the mac address embedded in the packet correctly for CentOS and RHEL 7. This also covers OS X and should cover FreeBSD as a bonus as well.

Alternate format appears in CentOS/RHEL7 as well as some BSD variants
such as OS X
@mjtko
Copy link
Owner

mjtko commented Nov 18, 2014

Urgh, yeah, that code is pretty brittle, thanks for making it less so on other/modern platforms!

Should replace it with a call to the macaddr gem really, but this will Do For Now ™️

👍

mjtko added a commit that referenced this pull request Nov 18, 2014
@mjtko mjtko merged commit 283e57d into mjtko:master Nov 18, 2014
@mjtko
Copy link
Owner

mjtko commented Nov 18, 2014

Included in release 1.3.2.

@psschroeter
Copy link
Author

Awesome, thanks!

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.

None yet

2 participants