Skip to content

Conversation

@ButteredCats
Copy link
Contributor

This would close #8.

I had to update to at least pyroute 0.9.1 since that's when they fixed the ability to use the preferred option when adding an address svinota/pyroute2#752.

Not sure if you wanna keep the name of the flag or change it.

It'd also be pretty trivial to change this to let you set any preferred_lft instead.

@unixfox
Copy link
Member

unixfox commented Oct 30, 2025

Thanks. Did you test that it works?

@ButteredCats
Copy link
Contributor Author

Yeah, tested it on my desktop and I'm already running this on my server with the new flag and its working perfectly.

@unixfox unixfox merged commit b9cf1f5 into iv-org:master Nov 5, 2025
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.

Set the new ip address as not preferred

2 participants