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

lib/route/link: add support for getting permanent mac address of link. #404

Closed
wants to merge 1 commit into from

Conversation

precla
Copy link
Contributor

@precla precla commented Sep 10, 2024

Couldn't find any function that gets an interface's permanent mac address (LINK_ATTR_PERMANENT_ADDR).

I hope that i did all, or at least most of it, the proper way. My guess is that i forgot to add it (l_paddr) on some places...

AFAIK: permanent address can not be changed

Waiting for feedback.

edit: pull request 404 :)

libnl-route-3.sym Outdated Show resolved Hide resolved
@precla precla changed the title route: add support for getting permanent mac address of link. lib/route/link: add support for getting permanent mac address of link. Sep 11, 2024
libnl-route-3.sym Outdated Show resolved Hide resolved
lib/route/link.c Outdated Show resolved Hide resolved
@thom311
Copy link
Owner

thom311 commented Sep 12, 2024

merged as acf572b.

Thank you!

@thom311 thom311 closed this Sep 12, 2024
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.

2 participants