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 generate_static_mac #781

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tschettervictor
Copy link
Collaborator

@tschettervictor tschettervictor commented Dec 29, 2024

I've updated the generate_static_mac function to hash the MAC of the host for the prefix. This is helpful when using interfaces such as bridge0, bridge1 etc.. which all have the same prefix.

This ensures that the MAC will always be unique for each IF/JAIL combo

@tschettervictor tschettervictor changed the title bugfix for cloneing new mac Fix generate_static_mac Dec 30, 2024
@bmac2
Copy link
Collaborator

bmac2 commented Dec 31, 2024

@yaazkal this one now tests fine for me. Test it too please.

@tschettervictor

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.

3 participants