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

Remove requirement to specify interface for virtual route in order to track it #2429

Merged
merged 2 commits into from
Jun 9, 2024

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

If a virtual route did not have an interface configured, keepalived would
log a warning saying that it could not track the route, and then would
disable tracking of that route.

It appears that it is not necessary to know the interface in order to track
the route, and in any event the netlink message received after adding the
route identifies the interface for the route if it is appropriate.

So this commit removes the requirement to specify an interface in order to
track a route.

Signed-off-by: Quentin Armitage <[email protected]>
IPROUTE_ADD was a value in an enum (23) in vrrp_iproute.h, but later
in that file IPROUTE_ADD was defined to be 1. This caused
IPROUTE_BIT_ADD to have the wrong value.

This commit now changes the name in the enum to be IPROUTE_ADD_ROUTE.

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit b6608e0 into acassen:master Jun 9, 2024
10 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.

1 participant