The Wayback Machine - https://web.archive.org/web/20201225235426/https://github.com/u-root/u-root/issues/1370
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

ip route: support deleting routes #1370

Open
hugelgupf opened this issue Sep 20, 2019 · 2 comments
Open

ip route: support deleting routes #1370

hugelgupf opened this issue Sep 20, 2019 · 2 comments

Comments

@hugelgupf
Copy link
Member

@hugelgupf hugelgupf commented Sep 20, 2019

Support for both

  • deleting individual routes
  • clearing all routes

is really needed.

@10000TB
Copy link
Contributor

@10000TB 10000TB commented Oct 2, 2019

does this correspond to iproute flush ? would this https://github.com/shemminger/iproute2/blob/master/ip/iproute.c#L1691 be a good reference for implementation

@hugelgupf
Copy link
Member Author

@hugelgupf hugelgupf commented Oct 3, 2019

Yeah, that looks about right. I would choose to perhaps only implement the "table", "dev", and "protocol" filter mechanisms there. (also, just not having any filters at all!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.