Skip to content

Add a way to specify the interface on a get requests#37

Merged
cathay4t merged 1 commit into
rust-netlink:mainfrom
Sh3Rm4n:feat/get-interface-index
Jul 10, 2025
Merged

Add a way to specify the interface on a get requests#37
cathay4t merged 1 commit into
rust-netlink:mainfrom
Sh3Rm4n:feat/get-interface-index

Conversation

@Sh3Rm4n

@Sh3Rm4n Sh3Rm4n commented Jul 10, 2025

Copy link
Copy Markdown
Collaborator

This tries to keep it consistent with the set function also taking plain attributes.

But it seems strange to set Vec::new() when all interface attributes are requested. Also distinguishing a NLM_F_DUMP request depending if the attributes are empty or not shows the weakness of the approach.

This should act as a basis for discussion up to this point.

@Sh3Rm4n
Sh3Rm4n marked this pull request as draft July 10, 2025 13:36
@Sh3Rm4n
Sh3Rm4n marked this pull request as ready for review July 10, 2025 13:40
@cathay4t
cathay4t merged commit 97bf087 into rust-netlink:main Jul 10, 2025
3 checks passed
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