Skip to content

fix: renew_ip keeps the default route - #79

Open
shubham-kaushal wants to merge 1 commit into
n0-computer:mainfrom
outpostHQ:pr/renew-ip
Open

shubham-kaushal wants to merge 1 commit into
n0-computer:mainfrom
outpostHQ:pr/renew-ip

Conversation

@shubham-kaushal

Copy link
Copy Markdown

renew_ip removes the old address, and the default route through that address goes with it. After a renewal, the device has no default route.

renew_ip now adds the default route again when the renewed interface carries it. The new test renew_ip_keeps_default_route fails on main and passes with this change.

Removing the old address drops the default route, so renew_ip adds it again.

This branch has not been deployed

No deployments
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.

1 participant