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

Add wirguard link #39

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

dtoubelis
Copy link
Contributor

This MR adds method for creating wireguard link. It is an equivalent to ip link add NAME type wireguard command.

@cathay4t
Copy link
Member

Please merge two commit into single one.

@dtoubelis
Copy link
Contributor Author

dtoubelis commented Aug 29, 2023

Commits have been squashed. There was also one more change to create the wg interface in DOWN state. This is how ip link ... command creates it and the latest change mimics the behavior exactly.

src/link/add.rs Outdated Show resolved Hide resolved
Copy link
Member

@cathay4t cathay4t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the extra step for up action.

@cathay4t cathay4t enabled auto-merge (rebase) January 10, 2024 12:28
@cathay4t cathay4t merged commit 24982ec into rust-netlink:main Jan 10, 2024
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